atomic

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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
}{}

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) FromWire

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

func (*CompareAndSwap) String

func (v *CompareAndSwap) String() string

func (*CompareAndSwap) ToWire

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

type IntegerMismatchError

type IntegerMismatchError struct {
	ExpectedValue int64 `json:"expectedValue"`
	GotValue      int64 `json:"gotValue"`
}

func (*IntegerMismatchError) Error

func (v *IntegerMismatchError) Error() string

func (*IntegerMismatchError) FromWire

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

func (*IntegerMismatchError) String

func (v *IntegerMismatchError) String() string

func (*IntegerMismatchError) ToWire

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

type KeyDoesNotExist

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

func (*KeyDoesNotExist) Error

func (v *KeyDoesNotExist) Error() string

func (*KeyDoesNotExist) FromWire

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

func (*KeyDoesNotExist) String

func (v *KeyDoesNotExist) String() string

func (*KeyDoesNotExist) ToWire

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

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) 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

func (*ReadOnlyStore_Integer_Args) ToWire added in v1.1.0

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

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 (*ReadOnlyStore_Integer_Result) FromWire added in v1.1.0

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 (*ReadOnlyStore_Integer_Result) ToWire added in v1.1.0

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) 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

func (*Store_CompareAndSwap_Args) ToWire

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

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) FromWire

func (*Store_CompareAndSwap_Result) MethodName

func (v *Store_CompareAndSwap_Result) MethodName() string

func (*Store_CompareAndSwap_Result) String

func (v *Store_CompareAndSwap_Result) String() string

func (*Store_CompareAndSwap_Result) ToWire

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) FromWire

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

func (*Store_Forget_Args) MethodName

func (v *Store_Forget_Args) MethodName() string

func (*Store_Forget_Args) String

func (v *Store_Forget_Args) String() string

func (*Store_Forget_Args) ToWire

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

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) FromWire

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

func (*Store_Increment_Args) MethodName

func (v *Store_Increment_Args) MethodName() string

func (*Store_Increment_Args) String

func (v *Store_Increment_Args) String() string

func (*Store_Increment_Args) ToWire

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

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) 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

func (*Store_Increment_Result) ToWire

func (v *Store_Increment_Result) 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