Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetRequest ¶
type GetRequest struct {
Keys StringSlice
}
func (*GetRequest) IsNil ¶
func (gr *GetRequest) IsNil() bool
func (*GetRequest) MarshalJSONObject ¶
func (gr *GetRequest) MarshalJSONObject(enc *gojay.Encoder)
func (*GetRequest) NKeys ¶
func (gr *GetRequest) NKeys() int
func (*GetRequest) UnmarshalJSONObject ¶
func (gr *GetRequest) UnmarshalJSONObject(dec *gojay.Decoder, key string) error
type GetResponse ¶
type GetResponse struct {
Values StringSlice
}
func (*GetResponse) IsNil ¶
func (grb *GetResponse) IsNil() bool
func (*GetResponse) MarshalJSONObject ¶
func (grb *GetResponse) MarshalJSONObject(enc *gojay.Encoder)
func (*GetResponse) NKeys ¶
func (grb *GetResponse) NKeys() int
func (*GetResponse) UnmarshalJSONObject ¶
func (grb *GetResponse) UnmarshalJSONObject(dec *gojay.Decoder, key string) error
type PutRequest ¶
type PutRequest struct { Key StringSlice Value StringSlice }
func (*PutRequest) IsNil ¶
func (pr *PutRequest) IsNil() bool
func (*PutRequest) MarshalJSONObject ¶
func (pr *PutRequest) MarshalJSONObject(enc *gojay.Encoder)
func (*PutRequest) NKeys ¶
func (pr *PutRequest) NKeys() int
func (*PutRequest) UnmarshalJSONObject ¶
func (pr *PutRequest) UnmarshalJSONObject(dec *gojay.Decoder, key string) error
type StringSlice ¶
type StringSlice []string
func (*StringSlice) IsNil ¶
func (t *StringSlice) IsNil() bool
func (*StringSlice) MarshalJSONArray ¶
func (t *StringSlice) MarshalJSONArray(enc *gojay.Encoder)
func (*StringSlice) UnmarshalJSONArray ¶
func (t *StringSlice) UnmarshalJSONArray(dec *gojay.Decoder) error
Click to show internal directories.
Click to hide internal directories.