Documentation ¶
Index ¶
- func GetOne(children map[string]*TrieNode, pre string) []model.Node
- func GetSSHClient(user, pass, addr string) (*ssh.Client, error)
- func NewLogger(logPath string) *zap.Logger
- type RedisLog
- func (rl RedisLog) AfterProcess(ctx context.Context, cmd redis.Cmder) error
- func (rl RedisLog) AfterProcessPipeline(ctx context.Context, cmd []redis.Cmder) error
- func (rl RedisLog) BeforeProcess(ctx context.Context, cmd redis.Cmder) (context.Context, error)
- func (rl RedisLog) BeforeProcessPipeline(ctx context.Context, cmd []redis.Cmder) (context.Context, error)
- type StorageGRM
- type Tire
- type TrieNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RedisLog ¶
func (RedisLog) AfterProcess ¶
func (RedisLog) AfterProcessPipeline ¶
func (RedisLog) BeforeProcess ¶
type StorageGRM ¶
type StorageGRM struct {
GRMFile string
}
func NewStorageGRM ¶
func NewStorageGRM(dir string) *StorageGRM
func (*StorageGRM) ReadData ¶
func (s *StorageGRM) ReadData() ([]byte, error)
func (*StorageGRM) WriteData ¶
func (s *StorageGRM) WriteData(data []byte) error
Click to show internal directories.
Click to hide internal directories.