Documentation ¶
Index ¶
- func Options() *client.Options
- func PadRight(str, pad string, length int) string
- func PrintByIndex(item *schema.StructuredItem, valueOnly bool) string
- func PrintItem(key []byte, value []byte, message interface{}, valueOnly bool) string
- func PrintRoot(root *schema.Root) string
- func PrintSetItem(set []byte, rkey []byte, score float64, message interface{}) string
- type Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintByIndex ¶
func PrintByIndex(item *schema.StructuredItem, valueOnly bool) string
PrintByIndex ...
Types ¶
type Client ¶
type Client interface { Connect(args []string) error Disconnect(args []string) error CurrentRoot(args []string) (string, error) GetByIndex(args []string) (string, error) GetKey(args []string) (string, error) RawSafeGetKey(args []string) (string, error) SafeGetKey(args []string) (string, error) GetRawBySafeIndex(args []string) (string, error) Login(args []string) (string, error) Logout(args []string) (string, error) History(args []string) (string, error) HealthCheck(args []string) (string, error) Reference(args []string) (string, error) SafeReference(args []string) (string, error) ZScan(args []string) (string, error) IScan(args []string) (string, error) Scan(args []string) (string, error) Count(args []string) (string, error) RawSafeSet(args []string) (string, error) Set(args []string) (string, error) SafeSet(args []string) (string, error) ZAdd(args []string) (string, error) SafeZAdd(args []string) (string, error) Consistency(args []string) (string, error) Inclusion(args []string) (string, error) ValueOnly() bool SetValueOnly(v bool) CreateDatabase(args []string) (string, error) DatabaseList(args []string) (string, error) UseDatabase(args []string) (string, error) UserCreate(args []string) (string, error) SetActiveUser(args []string, active bool) (string, error) SetUserPermission(args []string) (string, error) UserList(args []string) (string, error) ChangeUserPassword(args []string) (string, error) }
Client ...
Click to show internal directories.
Click to hide internal directories.