handler

package
v0.8.12 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MIN_VALUE       = 0
	MAX_VALUE       = 4294967295
	MAX_NAME_LENGTH = 20
	FAMILY_NAME     = "intkey"
)

Variables

This section is empty.

Functions

func DecodeCBOR

func DecodeCBOR(data []byte, pointer interface{}) error

func EncodeCBOR

func EncodeCBOR(value interface{}) ([]byte, error)

func Hexdigest

func Hexdigest(str string) string

Types

type IntkeyHandler

type IntkeyHandler struct {
	// contains filtered or unexported fields
}

func NewIntkeyHandler

func NewIntkeyHandler(namespace string) *IntkeyHandler

func (*IntkeyHandler) Apply

func (self *IntkeyHandler) Apply(request *processor_pb2.TpProcessRequest, state *processor.Context) error

func (*IntkeyHandler) Encoding

func (self *IntkeyHandler) Encoding() string

func (*IntkeyHandler) FamilyName

func (self *IntkeyHandler) FamilyName() string

func (*IntkeyHandler) FamilyVersion

func (self *IntkeyHandler) FamilyVersion() string

func (*IntkeyHandler) Namespaces

func (self *IntkeyHandler) Namespaces() []string

type IntkeyPayload

type IntkeyPayload struct {
	Verb  string
	Name  string
	Value int
}

Jump to

Keyboard shortcuts

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