Documentation
¶
Index ¶
- type Keystoreclient
- func (c *Keystoreclient) HardRead(ctx context.Context, key string, typ proto.Message) (proto.Message, *pbd.ReadResponse, error)
- func (c *Keystoreclient) HardSave(ctx context.Context, key string, message proto.Message) error
- func (c *Keystoreclient) Read(ctx context.Context, key string, typ proto.Message) (proto.Message, *pbd.ReadResponse, error)
- func (c *Keystoreclient) Save(ctx context.Context, key string, message proto.Message) error
- type Prodlinker
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 GetTestClient ¶
func GetTestClient(path string) *Keystoreclient
GetTestClient gets a test client that saves to a local store
func (*Keystoreclient) HardRead ¶
func (c *Keystoreclient) HardRead(ctx context.Context, key string, typ proto.Message) (proto.Message, *pbd.ReadResponse, error)
HardRead performs a read with retries
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
Click to show internal directories.
Click to hide internal directories.