kgs

package
v0.0.0-...-5c487ac Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RPC

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

RPC represents remote procedure calls which interact with key generation service.

func NewRPC

func NewRPC(hostname string, port int) (RPC, error)

NewRPC initializes GRPC client for key generation service APIs.

func (RPC) FetchKeys

func (k RPC) FetchKeys(maxCount int) ([]keygen.Key, error)

FetchKeys retrieves keys in batch from key generation service.

Jump to

Keyboard shortcuts

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