Documentation ¶
Index ¶
Constants ¶
View Source
const ( PathApiV1KV = "/api/kv/v1" PathApiV1KVSearch = "/api/kv/search/v1" PathApiV1KVList = "/api/kv/list/v1" )
View Source
const ( EventKVGet event.Id = iota + 1 EventKVSet EventKVDel EventKVWatch EventKVUnWatch EventKVWatchValue )
View Source
const (
AuthTokenHeaderName = "x-loop-auth"
)
View Source
const (
PathApiV1Watch = "/api/watch/v1"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type EntitiesKV ¶ added in v0.1.1
type EntitiesKV []EntityKV
func (EntitiesKV) MarshalEasyJSON ¶ added in v0.1.1
func (v EntitiesKV) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (EntitiesKV) MarshalJSON ¶ added in v0.1.1
func (v EntitiesKV) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*EntitiesKV) UnmarshalEasyJSON ¶ added in v0.1.1
func (v *EntitiesKV) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*EntitiesKV) UnmarshalJSON ¶ added in v0.1.1
func (v *EntitiesKV) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type EntityKV ¶ added in v0.1.1
func (EntityKV) MarshalEasyJSON ¶ added in v0.1.1
MarshalEasyJSON supports easyjson.Marshaler interface
func (EntityKV) MarshalJSON ¶ added in v0.1.1
MarshalJSON supports json.Marshaler interface
func (*EntityKV) UnmarshalEasyJSON ¶ added in v0.1.1
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*EntityKV) UnmarshalJSON ¶ added in v0.1.1
UnmarshalJSON supports json.Unmarshaler interface
func (EntityKV) ValueStrOrNull ¶ added in v0.1.1
Click to show internal directories.
Click to hide internal directories.