keycodes

package
v4.2.280+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CategorizeKeycodeErrorId

func CategorizeKeycodeErrorId(errorId int) int32

func NewKeycode

func NewKeycode() *Keycodes.Keycode

func TransformKeycode

func TransformKeycode(keycode *KeycodeMgt.Keycode) *Keycodes.Keycode

func TransformKeycodeList

func TransformKeycodeList(keycodes []*KeycodeMgt.Keycode) []*Keycodes.Keycode

Types

type IError

type IError = Errors.InternalError

type ServiceKeycodes

type ServiceKeycodes struct {
	Config *DatahubConfig.Config
}

func NewService

func NewService(cfg *DatahubConfig.Config) *ServiceKeycodes

func (*ServiceKeycodes) ActivateRegistrationData

func (c *ServiceKeycodes) ActivateRegistrationData(ctx context.Context, in *Keycodes.ActivateRegistrationDataRequest) (*status.Status, error)

func (*ServiceKeycodes) AddKeycode

func (*ServiceKeycodes) DeleteKeycode

func (*ServiceKeycodes) GenerateRegistrationData

func (c *ServiceKeycodes) GenerateRegistrationData(ctx context.Context, in *empty.Empty) (*Keycodes.GenerateRegistrationDataResponse, error)

func (*ServiceKeycodes) ListKeycodes

Jump to

Keyboard shortcuts

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