github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/builtins/types/apachelogs/apachelogs.go (about) 1 package apachelogs 2 3 import ( 4 "github.com/lmorg/murex/lang" 5 "github.com/lmorg/murex/lang/stdio" 6 ) 7 8 const ( 9 typeAccess = "commonlog" 10 typeError = "errorlog" 11 ) 12 13 func init() { 14 stdio.RegisterReadArray(typeAccess, readArray) 15 stdio.RegisterReadArrayWithType(typeAccess, readArrayWithType) 16 //stdio.RegisterReadMap(typeAccess, readMap) 17 18 lang.ReadIndexes[typeAccess] = index 19 lang.ReadNotIndexes[typeAccess] = index 20 //lang.Marshallers[typeAccess] = marshal 21 lang.Unmarshallers[typeAccess] = unmarshal 22 }