keyvalue

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GetValueHelper = struct {
	IsException    func(error) bool
	Args           func(key *string) *GetValueArgs
	WrapResponse   func(string, error) (*GetValueResult, error)
	UnwrapResponse func(*GetValueResult) (string, error)
}{}
View Source
var SetValueHelper = struct {
	IsException    func(error) bool
	Args           func(key *string, value *string) *SetValueArgs
	WrapResponse   func(error) (*SetValueResult, error)
	UnwrapResponse func(*SetValueResult) error
}{}

Functions

This section is empty.

Types

type GetValueArgs

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

func (*GetValueArgs) EnvelopeType

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

func (*GetValueArgs) FromWire

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

func (*GetValueArgs) MethodName

func (v *GetValueArgs) MethodName() string

func (*GetValueArgs) String

func (v *GetValueArgs) String() string

func (*GetValueArgs) ToWire

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

type GetValueResult

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

func (*GetValueResult) EnvelopeType

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

func (*GetValueResult) FromWire

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

func (*GetValueResult) MethodName

func (v *GetValueResult) MethodName() string

func (*GetValueResult) String

func (v *GetValueResult) String() string

func (*GetValueResult) ToWire

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

type SetValueArgs

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

func (*SetValueArgs) EnvelopeType

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

func (*SetValueArgs) FromWire

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

func (*SetValueArgs) MethodName

func (v *SetValueArgs) MethodName() string

func (*SetValueArgs) String

func (v *SetValueArgs) String() string

func (*SetValueArgs) ToWire

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

type SetValueResult

type SetValueResult struct{}

func (*SetValueResult) EnvelopeType

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

func (*SetValueResult) FromWire

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

func (*SetValueResult) MethodName

func (v *SetValueResult) MethodName() string

func (*SetValueResult) String

func (v *SetValueResult) String() string

func (*SetValueResult) ToWire

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

Jump to

Keyboard shortcuts

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