dto

package
v0.0.0-...-e8f0c1c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL