Documentation ¶
Index ¶
- Constants
- func NFloat32(v float32) *float32
- func NFloat64(v float64) *float64
- func NInt(v int) *int
- func NInt16(v int16) *int16
- func NInt32(v int32) *int32
- func NInt64(v int64) *int64
- func NInt8(v int8) *int8
- func NString(v string) *string
- func NUInt(v uint) *uint
- func NUInt16(v uint16) *uint16
- func NUInt32(v uint32) *uint32
- func NUInt64(v uint64) *uint64
- func NUInt8(v uint8) *uint8
- func ParseKeyValueLog(line string, pointer interface{}) error
- func ParseParameters(args []string) []string
- type OnMissedCache
- type RoutineCache
- type RoutineCacheQuery
Constants ¶
View Source
const (
LINE_KEY_PATTERN = `(\w+)=(?:([^ "=]+)|(?:["]([^"]+)["]))`
)
View Source
const (
PARAMETERS_PATTERN = `"((?:[^"]|\")*)"|(\S+)`
)
Variables ¶
This section is empty.
Functions ¶
func ParseKeyValueLog ¶
func ParseParameters ¶
Types ¶
type OnMissedCache ¶
type RoutineCache ¶
type RoutineCache struct {
// contains filtered or unexported fields
}
func NewRoutineCache ¶
func NewRoutineCache(cacheLen int, onMiss OnMissedCache) *RoutineCache
func (*RoutineCache) Key ¶
func (self *RoutineCache) Key(args ...string) *RoutineCacheQuery
type RoutineCacheQuery ¶
type RoutineCacheQuery struct {
// contains filtered or unexported fields
}
func (*RoutineCacheQuery) SetValue ¶
func (self *RoutineCacheQuery) SetValue(value interface{})
func (*RoutineCacheQuery) Value ¶
func (self *RoutineCacheQuery) Value(args ...interface{}) (interface{}, error)
Click to show internal directories.
Click to hide internal directories.