Documentation ¶
Index ¶
- Variables
- type CompareAndSwap
- type IntegerMismatchError
- type KeyDoesNotExist
- type ReadOnlyStore_Integer_Args
- func (v *ReadOnlyStore_Integer_Args) EnvelopeType() wire.EnvelopeType
- func (v *ReadOnlyStore_Integer_Args) Equals(rhs *ReadOnlyStore_Integer_Args) bool
- func (v *ReadOnlyStore_Integer_Args) FromWire(w wire.Value) error
- func (v *ReadOnlyStore_Integer_Args) MethodName() string
- func (v *ReadOnlyStore_Integer_Args) String() string
- func (v *ReadOnlyStore_Integer_Args) ToWire() (wire.Value, error)
- type ReadOnlyStore_Integer_Result
- func (v *ReadOnlyStore_Integer_Result) EnvelopeType() wire.EnvelopeType
- func (v *ReadOnlyStore_Integer_Result) Equals(rhs *ReadOnlyStore_Integer_Result) bool
- func (v *ReadOnlyStore_Integer_Result) FromWire(w wire.Value) error
- func (v *ReadOnlyStore_Integer_Result) MethodName() string
- func (v *ReadOnlyStore_Integer_Result) String() string
- func (v *ReadOnlyStore_Integer_Result) ToWire() (wire.Value, error)
- type Store_CompareAndSwap_Args
- func (v *Store_CompareAndSwap_Args) EnvelopeType() wire.EnvelopeType
- func (v *Store_CompareAndSwap_Args) Equals(rhs *Store_CompareAndSwap_Args) bool
- func (v *Store_CompareAndSwap_Args) FromWire(w wire.Value) error
- func (v *Store_CompareAndSwap_Args) MethodName() string
- func (v *Store_CompareAndSwap_Args) String() string
- func (v *Store_CompareAndSwap_Args) ToWire() (wire.Value, error)
- type Store_CompareAndSwap_Result
- func (v *Store_CompareAndSwap_Result) EnvelopeType() wire.EnvelopeType
- func (v *Store_CompareAndSwap_Result) Equals(rhs *Store_CompareAndSwap_Result) bool
- func (v *Store_CompareAndSwap_Result) FromWire(w wire.Value) error
- func (v *Store_CompareAndSwap_Result) MethodName() string
- func (v *Store_CompareAndSwap_Result) String() string
- func (v *Store_CompareAndSwap_Result) ToWire() (wire.Value, error)
- type Store_Forget_Args
- func (v *Store_Forget_Args) EnvelopeType() wire.EnvelopeType
- func (v *Store_Forget_Args) Equals(rhs *Store_Forget_Args) bool
- func (v *Store_Forget_Args) FromWire(w wire.Value) error
- func (v *Store_Forget_Args) MethodName() string
- func (v *Store_Forget_Args) String() string
- func (v *Store_Forget_Args) ToWire() (wire.Value, error)
- type Store_Increment_Args
- func (v *Store_Increment_Args) EnvelopeType() wire.EnvelopeType
- func (v *Store_Increment_Args) Equals(rhs *Store_Increment_Args) bool
- func (v *Store_Increment_Args) FromWire(w wire.Value) error
- func (v *Store_Increment_Args) MethodName() string
- func (v *Store_Increment_Args) String() string
- func (v *Store_Increment_Args) ToWire() (wire.Value, error)
- type Store_Increment_Result
- func (v *Store_Increment_Result) EnvelopeType() wire.EnvelopeType
- func (v *Store_Increment_Result) Equals(rhs *Store_Increment_Result) bool
- func (v *Store_Increment_Result) FromWire(w wire.Value) error
- func (v *Store_Increment_Result) MethodName() string
- func (v *Store_Increment_Result) String() string
- func (v *Store_Increment_Result) ToWire() (wire.Value, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ReadOnlyStore_Integer_Helper = struct { Args func(key *string) *ReadOnlyStore_Integer_Args IsException func(error) bool WrapResponse func(int64, error) (*ReadOnlyStore_Integer_Result, error) UnwrapResponse func(*ReadOnlyStore_Integer_Result) (int64, error) }{}
View Source
var Store_CompareAndSwap_Helper = struct { Args func(request *CompareAndSwap) *Store_CompareAndSwap_Args IsException func(error) bool WrapResponse func(error) (*Store_CompareAndSwap_Result, error) UnwrapResponse func(*Store_CompareAndSwap_Result) error }{}
View Source
var Store_Forget_Helper = struct { Args func(key *string) *Store_Forget_Args }{}
View Source
var Store_Increment_Helper = struct { Args func(key *string, value *int64) *Store_Increment_Args IsException func(error) bool WrapResponse func(error) (*Store_Increment_Result, error) UnwrapResponse func(*Store_Increment_Result) error }{}
View Source
var ThriftModule = &thriftreflect.ThriftModule{Name: "atomic", Package: "go.uber.org/yarpc/encoding/thrift/thriftrw-plugin-yarpc/internal/tests/atomic", FilePath: "atomic.thrift", SHA1: "2bc145384bb2472af911bf797c7c23331111638a", Includes: []*thriftreflect.ThriftModule{common.ThriftModule}, Raw: rawIDL}
Functions ¶
This section is empty.
Types ¶
type CompareAndSwap ¶
type CompareAndSwap struct { Key string `json:"key"` CurrentValue int64 `json:"currentValue"` NewValue int64 `json:"newValue"` }
func (*CompareAndSwap) Equals ¶ added in v1.8.0
func (v *CompareAndSwap) Equals(rhs *CompareAndSwap) bool
func (*CompareAndSwap) String ¶
func (v *CompareAndSwap) String() string
type IntegerMismatchError ¶
type IntegerMismatchError struct { ExpectedValue int64 `json:"expectedValue"` GotValue int64 `json:"gotValue"` }
func (*IntegerMismatchError) Equals ¶ added in v1.8.0
func (v *IntegerMismatchError) Equals(rhs *IntegerMismatchError) bool
func (*IntegerMismatchError) Error ¶
func (v *IntegerMismatchError) Error() string
func (*IntegerMismatchError) String ¶
func (v *IntegerMismatchError) String() string
type KeyDoesNotExist ¶
type KeyDoesNotExist struct {
Key *string `json:"key,omitempty"`
}
func (*KeyDoesNotExist) Equals ¶ added in v1.8.0
func (v *KeyDoesNotExist) Equals(rhs *KeyDoesNotExist) bool
func (*KeyDoesNotExist) Error ¶
func (v *KeyDoesNotExist) Error() string
func (*KeyDoesNotExist) String ¶
func (v *KeyDoesNotExist) String() string
type ReadOnlyStore_Integer_Args ¶ added in v1.1.0
type ReadOnlyStore_Integer_Args struct {
Key *string `json:"key,omitempty"`
}
func (*ReadOnlyStore_Integer_Args) EnvelopeType ¶ added in v1.1.0
func (v *ReadOnlyStore_Integer_Args) EnvelopeType() wire.EnvelopeType
func (*ReadOnlyStore_Integer_Args) Equals ¶ added in v1.8.0
func (v *ReadOnlyStore_Integer_Args) Equals(rhs *ReadOnlyStore_Integer_Args) bool
func (*ReadOnlyStore_Integer_Args) FromWire ¶ added in v1.1.0
func (v *ReadOnlyStore_Integer_Args) FromWire(w wire.Value) error
func (*ReadOnlyStore_Integer_Args) MethodName ¶ added in v1.1.0
func (v *ReadOnlyStore_Integer_Args) MethodName() string
func (*ReadOnlyStore_Integer_Args) String ¶ added in v1.1.0
func (v *ReadOnlyStore_Integer_Args) String() string
type ReadOnlyStore_Integer_Result ¶ added in v1.1.0
type ReadOnlyStore_Integer_Result struct { Success *int64 `json:"success,omitempty"` DoesNotExist *KeyDoesNotExist `json:"doesNotExist,omitempty"` }
func (*ReadOnlyStore_Integer_Result) EnvelopeType ¶ added in v1.1.0
func (v *ReadOnlyStore_Integer_Result) EnvelopeType() wire.EnvelopeType
func (*ReadOnlyStore_Integer_Result) Equals ¶ added in v1.8.0
func (v *ReadOnlyStore_Integer_Result) Equals(rhs *ReadOnlyStore_Integer_Result) bool
func (*ReadOnlyStore_Integer_Result) FromWire ¶ added in v1.1.0
func (v *ReadOnlyStore_Integer_Result) FromWire(w wire.Value) error
func (*ReadOnlyStore_Integer_Result) MethodName ¶ added in v1.1.0
func (v *ReadOnlyStore_Integer_Result) MethodName() string
func (*ReadOnlyStore_Integer_Result) String ¶ added in v1.1.0
func (v *ReadOnlyStore_Integer_Result) String() string
type Store_CompareAndSwap_Args ¶
type Store_CompareAndSwap_Args struct {
Request *CompareAndSwap `json:"request,omitempty"`
}
func (*Store_CompareAndSwap_Args) EnvelopeType ¶
func (v *Store_CompareAndSwap_Args) EnvelopeType() wire.EnvelopeType
func (*Store_CompareAndSwap_Args) Equals ¶ added in v1.8.0
func (v *Store_CompareAndSwap_Args) Equals(rhs *Store_CompareAndSwap_Args) bool
func (*Store_CompareAndSwap_Args) FromWire ¶
func (v *Store_CompareAndSwap_Args) FromWire(w wire.Value) error
func (*Store_CompareAndSwap_Args) MethodName ¶
func (v *Store_CompareAndSwap_Args) MethodName() string
func (*Store_CompareAndSwap_Args) String ¶
func (v *Store_CompareAndSwap_Args) String() string
type Store_CompareAndSwap_Result ¶
type Store_CompareAndSwap_Result struct {
Mismatch *IntegerMismatchError `json:"mismatch,omitempty"`
}
func (*Store_CompareAndSwap_Result) EnvelopeType ¶
func (v *Store_CompareAndSwap_Result) EnvelopeType() wire.EnvelopeType
func (*Store_CompareAndSwap_Result) Equals ¶ added in v1.8.0
func (v *Store_CompareAndSwap_Result) Equals(rhs *Store_CompareAndSwap_Result) bool
func (*Store_CompareAndSwap_Result) FromWire ¶
func (v *Store_CompareAndSwap_Result) FromWire(w wire.Value) error
func (*Store_CompareAndSwap_Result) MethodName ¶
func (v *Store_CompareAndSwap_Result) MethodName() string
func (*Store_CompareAndSwap_Result) String ¶
func (v *Store_CompareAndSwap_Result) String() string
type Store_Forget_Args ¶
type Store_Forget_Args struct {
Key *string `json:"key,omitempty"`
}
func (*Store_Forget_Args) EnvelopeType ¶
func (v *Store_Forget_Args) EnvelopeType() wire.EnvelopeType
func (*Store_Forget_Args) Equals ¶ added in v1.8.0
func (v *Store_Forget_Args) Equals(rhs *Store_Forget_Args) bool
func (*Store_Forget_Args) MethodName ¶
func (v *Store_Forget_Args) MethodName() string
func (*Store_Forget_Args) String ¶
func (v *Store_Forget_Args) String() string
type Store_Increment_Args ¶
type Store_Increment_Args struct { Key *string `json:"key,omitempty"` Value *int64 `json:"value,omitempty"` }
func (*Store_Increment_Args) EnvelopeType ¶
func (v *Store_Increment_Args) EnvelopeType() wire.EnvelopeType
func (*Store_Increment_Args) Equals ¶ added in v1.8.0
func (v *Store_Increment_Args) Equals(rhs *Store_Increment_Args) bool
func (*Store_Increment_Args) MethodName ¶
func (v *Store_Increment_Args) MethodName() string
func (*Store_Increment_Args) String ¶
func (v *Store_Increment_Args) String() string
type Store_Increment_Result ¶
type Store_Increment_Result struct{}
func (*Store_Increment_Result) EnvelopeType ¶
func (v *Store_Increment_Result) EnvelopeType() wire.EnvelopeType
func (*Store_Increment_Result) Equals ¶ added in v1.8.0
func (v *Store_Increment_Result) Equals(rhs *Store_Increment_Result) bool
func (*Store_Increment_Result) FromWire ¶
func (v *Store_Increment_Result) FromWire(w wire.Value) error
func (*Store_Increment_Result) MethodName ¶
func (v *Store_Increment_Result) MethodName() string
func (*Store_Increment_Result) String ¶
func (v *Store_Increment_Result) String() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.