kv

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KeyValue_GetValue_Helper = struct {
	Args           func(key *string) *KeyValue_GetValue_Args
	IsException    func(error) bool
	WrapResponse   func(string, error) (*KeyValue_GetValue_Result, error)
	UnwrapResponse func(*KeyValue_GetValue_Result) (string, error)
}{}
View Source
var KeyValue_SetValue_Helper = struct {
	Args           func(key *string, value *string) *KeyValue_SetValue_Args
	IsException    func(error) bool
	WrapResponse   func(error) (*KeyValue_SetValue_Result, error)
	UnwrapResponse func(*KeyValue_SetValue_Result) error
}{}
View Source
var ThriftModule = &thriftreflect.ThriftModule{Name: "kv", Package: "go.uber.org/yarpc/internal/examples/thrift-keyvalue/keyvalue/kv", FilePath: "kv.thrift", SHA1: "9e8c1c30d0b6bd7d83426a92962269aaef706295", Raw: rawIDL}

Functions

This section is empty.

Types

type KeyValue_GetValue_Args

type KeyValue_GetValue_Args struct {
	Key *string `json:"key,omitempty"`
}

func (*KeyValue_GetValue_Args) EnvelopeType

func (v *KeyValue_GetValue_Args) EnvelopeType() wire.EnvelopeType

func (*KeyValue_GetValue_Args) Equals added in v1.8.0

func (*KeyValue_GetValue_Args) FromWire

func (v *KeyValue_GetValue_Args) FromWire(w wire.Value) error

func (*KeyValue_GetValue_Args) MethodName

func (v *KeyValue_GetValue_Args) MethodName() string

func (*KeyValue_GetValue_Args) String

func (v *KeyValue_GetValue_Args) String() string

func (*KeyValue_GetValue_Args) ToWire

func (v *KeyValue_GetValue_Args) ToWire() (wire.Value, error)

type KeyValue_GetValue_Result

type KeyValue_GetValue_Result struct {
	Success      *string               `json:"success,omitempty"`
	DoesNotExist *ResourceDoesNotExist `json:"doesNotExist,omitempty"`
}

func (*KeyValue_GetValue_Result) EnvelopeType

func (v *KeyValue_GetValue_Result) EnvelopeType() wire.EnvelopeType

func (*KeyValue_GetValue_Result) Equals added in v1.8.0

func (*KeyValue_GetValue_Result) FromWire

func (v *KeyValue_GetValue_Result) FromWire(w wire.Value) error

func (*KeyValue_GetValue_Result) MethodName

func (v *KeyValue_GetValue_Result) MethodName() string

func (*KeyValue_GetValue_Result) String

func (v *KeyValue_GetValue_Result) String() string

func (*KeyValue_GetValue_Result) ToWire

func (v *KeyValue_GetValue_Result) ToWire() (wire.Value, error)

type KeyValue_SetValue_Args

type KeyValue_SetValue_Args struct {
	Key   *string `json:"key,omitempty"`
	Value *string `json:"value,omitempty"`
}

func (*KeyValue_SetValue_Args) EnvelopeType

func (v *KeyValue_SetValue_Args) EnvelopeType() wire.EnvelopeType

func (*KeyValue_SetValue_Args) Equals added in v1.8.0

func (*KeyValue_SetValue_Args) FromWire

func (v *KeyValue_SetValue_Args) FromWire(w wire.Value) error

func (*KeyValue_SetValue_Args) MethodName

func (v *KeyValue_SetValue_Args) MethodName() string

func (*KeyValue_SetValue_Args) String

func (v *KeyValue_SetValue_Args) String() string

func (*KeyValue_SetValue_Args) ToWire

func (v *KeyValue_SetValue_Args) ToWire() (wire.Value, error)

type KeyValue_SetValue_Result

type KeyValue_SetValue_Result struct{}

func (*KeyValue_SetValue_Result) EnvelopeType

func (v *KeyValue_SetValue_Result) EnvelopeType() wire.EnvelopeType

func (*KeyValue_SetValue_Result) Equals added in v1.8.0

func (*KeyValue_SetValue_Result) FromWire

func (v *KeyValue_SetValue_Result) FromWire(w wire.Value) error

func (*KeyValue_SetValue_Result) MethodName

func (v *KeyValue_SetValue_Result) MethodName() string

func (*KeyValue_SetValue_Result) String

func (v *KeyValue_SetValue_Result) String() string

func (*KeyValue_SetValue_Result) ToWire

func (v *KeyValue_SetValue_Result) ToWire() (wire.Value, error)

type ResourceDoesNotExist

type ResourceDoesNotExist struct {
	Key     string  `json:"key"`
	Message *string `json:"message,omitempty"`
}

func (*ResourceDoesNotExist) Equals added in v1.8.0

func (*ResourceDoesNotExist) Error

func (v *ResourceDoesNotExist) Error() string

func (*ResourceDoesNotExist) FromWire

func (v *ResourceDoesNotExist) FromWire(w wire.Value) error

func (*ResourceDoesNotExist) String

func (v *ResourceDoesNotExist) String() string

func (*ResourceDoesNotExist) ToWire

func (v *ResourceDoesNotExist) ToWire() (wire.Value, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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