Documentation ¶
Index ¶
- Variables
- func CloseProfile(traceFile string)
- func PrintFlagsJSON(cmd *cobra.Command) json.RawMessage
- func StartProfile(traceFile string)
- type LogFormat
- type LogLevel
- type MutableNode
- func (em *MutableNode) Height() int16
- func (em *MutableNode) Key() []byte
- func (em *MutableNode) Left() avl.MutableNode
- func (em *MutableNode) LeftKey() []byte
- func (em *MutableNode) Merge(node avl.MutableNode) error
- func (em *MutableNode) Right() avl.MutableNode
- func (em *MutableNode) RightKey() []byte
- func (em *MutableNode) SetHeight(height int16) error
- func (em *MutableNode) SetLeft(node avl.MutableNode) error
- func (em *MutableNode) SetRight(node avl.MutableNode) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FlagLogLevel LogLevel = LogLevel{Lvl: zerolog.ErrorLevel} FlagLogFormat LogFormat = LogFormat{/* contains filtered or unexported fields */} FlagLogOut string FlagCPUProfile string FlagMemProfile string FlagTrace string FlagExitAfter time.Duration FlagNumberOfNodes uint = 3 FlagQuiet bool FlagQueries []string FlagJSONPretty bool )
Functions ¶
func CloseProfile ¶
func CloseProfile(traceFile string)
func PrintFlagsJSON ¶
func PrintFlagsJSON(cmd *cobra.Command) json.RawMessage
func StartProfile ¶
func StartProfile(traceFile string)
Types ¶
type MutableNode ¶
type MutableNode struct {
// contains filtered or unexported fields
}
func NewMutableNode ¶
func NewMutableNode(key []byte) *MutableNode
func (*MutableNode) Height ¶
func (em *MutableNode) Height() int16
func (*MutableNode) Key ¶
func (em *MutableNode) Key() []byte
func (*MutableNode) Left ¶
func (em *MutableNode) Left() avl.MutableNode
func (*MutableNode) LeftKey ¶
func (em *MutableNode) LeftKey() []byte
func (*MutableNode) Merge ¶
func (em *MutableNode) Merge(node avl.MutableNode) error
func (*MutableNode) Right ¶
func (em *MutableNode) Right() avl.MutableNode
func (*MutableNode) RightKey ¶
func (em *MutableNode) RightKey() []byte
func (*MutableNode) SetHeight ¶
func (em *MutableNode) SetHeight(height int16) error
func (*MutableNode) SetLeft ¶
func (em *MutableNode) SetLeft(node avl.MutableNode) error
func (*MutableNode) SetRight ¶
func (em *MutableNode) SetRight(node avl.MutableNode) error
Click to show internal directories.
Click to hide internal directories.