Documentation ¶
Index ¶
- Constants
- type CodecType
- type LogLevel
- type MapConv
- func (c *MapConv) Get(key string) (interface{}, bool)
- func (c *MapConv) GetBool(key string) (b bool)
- func (c *MapConv) GetDuration(key string) (d time.Duration)
- func (c *MapConv) GetFloat32(key string) (f float32)
- func (c *MapConv) GetFloat64(key string) (f float64)
- func (c *MapConv) GetInt(key string) (i int)
- func (c *MapConv) GetInt32(key string) (i int32)
- func (c *MapConv) GetInt64(key string) (i int64)
- func (c *MapConv) GetString(key string) (s string)
- func (c *MapConv) GetStringMap(key string) (sm map[string]interface{})
- func (c *MapConv) GetStringMapString(key string) (sms map[string]string)
- func (c *MapConv) GetStringMapStringSlice(key string) (smss map[string][]string)
- func (c *MapConv) GetStringSlice(key string) (ss []string)
- func (c *MapConv) GetTime(key string) (t time.Time)
- func (c *MapConv) GetUint(key string) (u uint)
- func (c *MapConv) GetUint32(key string) (u uint32)
- func (c *MapConv) GetUint64(key string) (u uint64)
- func (c *MapConv) Map() map[string]interface{}
- func (c *MapConv) MustGet(key string) interface{}
- func (c *MapConv) String() string
- type UnbindReason
Constants ¶
View Source
const ( CodecTypeMap = 0 CodecTypeBytes = 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MapConv ¶
type MapConv struct {
// contains filtered or unexported fields
}
func NewMapConv ¶
func (*MapConv) GetFloat32 ¶
func (*MapConv) GetFloat64 ¶
func (*MapConv) GetStringMap ¶
func (*MapConv) GetStringMapString ¶
func (*MapConv) GetStringMapStringSlice ¶
func (*MapConv) GetStringSlice ¶
type UnbindReason ¶
type UnbindReason int32
const ( UnbindExit UnbindReason = 0 // 插件退出 UnbindUnUsed UnbindReason = 1 // 插件不再使用 UnbindUpgrade UnbindReason = 2 // 插件升级 UnbindDowngrade UnbindReason = 3 // 插件降级 UnbindPanic UnbindReason = 4 // 插件异常 )
Click to show internal directories.
Click to hide internal directories.