keystoreclient

package
v0.0.0-...-88c50f3 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 11 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Keystoreclient

type Keystoreclient struct {
	Fail bool
	// contains filtered or unexported fields
}

Keystoreclient is the main client

func GetClient

func GetClient(f getIP) *Keystoreclient

GetClient gets a networked client

func GetTestClient

func GetTestClient(path string) *Keystoreclient

GetTestClient gets a test client that saves to a local store

func (*Keystoreclient) HardRead

HardRead performs a read with retries

func (*Keystoreclient) HardSave

func (c *Keystoreclient) HardSave(ctx context.Context, key string, message proto.Message) error

HardSave performs a save with retries

func (*Keystoreclient) Read

Load loads a proto

func (*Keystoreclient) Save

func (c *Keystoreclient) Save(ctx context.Context, key string, message proto.Message) error

Save saves a proto

type Prodlinker

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

Prodlinker Production ready linker

func (*Prodlinker) Read

func (p *Prodlinker) Read(ctx context.Context, req *pb.ReadRequest) (*pb.ReadResponse, error)

Read reads out the thingy

func (*Prodlinker) Save

func (p *Prodlinker) Save(ctx context.Context, req *pb.SaveRequest) (*pb.Empty, error)

Save saves out the thingy

Jump to

Keyboard shortcuts

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