Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetOptions ¶
func (GetOptions) MarshalEasyJSON ¶
func (v GetOptions) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*GetOptions) UnmarshalEasyJSON ¶
func (v *GetOptions) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type PutOptions ¶
type PutOptions struct {
Expiration int `json:"expiration,omitempty"`
ExpirationTTL int `json:"expirationTtl,omitempty"`
Metadata map[string]any `json:"metadata,omitempty"`
}
func (PutOptions) MarshalEasyJSON ¶
func (v PutOptions) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*PutOptions) UnmarshalEasyJSON ¶
func (v *PutOptions) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type StringWithMetadata ¶
type StringWithMetadata struct {
Value string `json:"value"`
Metadata map[string]any `json:"metadata"`
}
func (StringWithMetadata) MarshalEasyJSON ¶
func (v StringWithMetadata) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*StringWithMetadata) UnmarshalEasyJSON ¶
func (v *StringWithMetadata) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
Click to show internal directories.
Click to hide internal directories.