rpc

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	model.RPCError
	Code int
}

func (*Error) StatusCode

func (err *Error) StatusCode() int

type InstanceToken

type InstanceToken struct {
	ID        uuid.UUID
	SecretKey RawSecretKey
}

func NewInstanceToken

func NewInstanceToken() (*InstanceToken, error)

func ParseInstanceToken

func ParseInstanceToken(text string) (*InstanceToken, error)

func (*InstanceToken) MarshalText

func (token *InstanceToken) MarshalText() ([]byte, error)

func (*InstanceToken) String

func (token *InstanceToken) String() string

func (*InstanceToken) UnmarshalText

func (token *InstanceToken) UnmarshalText(text string) error

func (*InstanceToken) UnmarshalYAML

func (token *InstanceToken) UnmarshalYAML(value *yaml.Node) error

type RawSecretKey

type RawSecretKey struct {
	Bytes []byte
}

func (*RawSecretKey) Equal

func (secret *RawSecretKey) Equal(other *RawSecretKey) bool

func (*RawSecretKey) String

func (secret *RawSecretKey) String() string

func (*RawSecretKey) UnmarshalJSON

func (secret *RawSecretKey) UnmarshalJSON(data []byte) (err error)

func (*RawSecretKey) UnmarshalText

func (secret *RawSecretKey) UnmarshalText(value string) (err error)

func (*RawSecretKey) UnmarshalYAML

func (secret *RawSecretKey) UnmarshalYAML(value *yaml.Node) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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