Versions in this module Expand all Collapse all v0 v0.1.1 May 11, 2025 v0.1.0 May 11, 2025 Changes in this version + type Config struct + Addr string + Password string + Timeout time.Duration + type IClient interface + Get func(ctx context.Context, name string) (string, int64, error) + Put func(ctx context.Context, name, data string) (int64, error) + Reset func(ctx context.Context, name string) error + SetMaxQueue func(ctx context.Context, name string, max int) error + SetSyncTime func(ctx context.Context, name string, duration time.Duration) error + Status func(ctx context.Context, name string) (*Status, error) + View func(ctx context.Context, name string, pos int64) (string, error) + func NewClient(config *Config) IClient + type Status struct + GetLap int64 + GetPos int64 + MaxQueue int64 + Name string + PutLap int64 + PutPos int64 + Unread int64 + func (s Status) String() string