Documentation ¶
Index ¶
- Variables
- type KeyValue_GetValue_Args
- func (v *KeyValue_GetValue_Args) EnvelopeType() wire.EnvelopeType
- func (v *KeyValue_GetValue_Args) Equals(rhs *KeyValue_GetValue_Args) bool
- func (v *KeyValue_GetValue_Args) FromWire(w wire.Value) error
- func (v *KeyValue_GetValue_Args) MethodName() string
- func (v *KeyValue_GetValue_Args) String() string
- func (v *KeyValue_GetValue_Args) ToWire() (wire.Value, error)
- type KeyValue_GetValue_Result
- func (v *KeyValue_GetValue_Result) EnvelopeType() wire.EnvelopeType
- func (v *KeyValue_GetValue_Result) Equals(rhs *KeyValue_GetValue_Result) bool
- func (v *KeyValue_GetValue_Result) FromWire(w wire.Value) error
- func (v *KeyValue_GetValue_Result) MethodName() string
- func (v *KeyValue_GetValue_Result) String() string
- func (v *KeyValue_GetValue_Result) ToWire() (wire.Value, error)
- type KeyValue_SetValue_Args
- func (v *KeyValue_SetValue_Args) EnvelopeType() wire.EnvelopeType
- func (v *KeyValue_SetValue_Args) Equals(rhs *KeyValue_SetValue_Args) bool
- func (v *KeyValue_SetValue_Args) FromWire(w wire.Value) error
- func (v *KeyValue_SetValue_Args) MethodName() string
- func (v *KeyValue_SetValue_Args) String() string
- func (v *KeyValue_SetValue_Args) ToWire() (wire.Value, error)
- type KeyValue_SetValue_Result
- func (v *KeyValue_SetValue_Result) EnvelopeType() wire.EnvelopeType
- func (v *KeyValue_SetValue_Result) Equals(rhs *KeyValue_SetValue_Result) bool
- func (v *KeyValue_SetValue_Result) FromWire(w wire.Value) error
- func (v *KeyValue_SetValue_Result) MethodName() string
- func (v *KeyValue_SetValue_Result) String() string
- func (v *KeyValue_SetValue_Result) ToWire() (wire.Value, error)
- type ResourceDoesNotExist
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 (v *KeyValue_GetValue_Args) Equals(rhs *KeyValue_GetValue_Args) bool
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
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 (v *KeyValue_GetValue_Result) Equals(rhs *KeyValue_GetValue_Result) bool
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
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 (v *KeyValue_SetValue_Args) Equals(rhs *KeyValue_SetValue_Args) bool
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
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 (v *KeyValue_SetValue_Result) Equals(rhs *KeyValue_SetValue_Result) bool
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
type ResourceDoesNotExist ¶
type ResourceDoesNotExist struct { Key string `json:"key"` Message *string `json:"message,omitempty"` }
func (*ResourceDoesNotExist) Equals ¶ added in v1.8.0
func (v *ResourceDoesNotExist) Equals(rhs *ResourceDoesNotExist) bool
func (*ResourceDoesNotExist) Error ¶
func (v *ResourceDoesNotExist) Error() string
func (*ResourceDoesNotExist) String ¶
func (v *ResourceDoesNotExist) String() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.