client

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlexandraClient

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

func NewAlexandraClient

func NewAlexandraClient(address string) AlexandraClient

func (*AlexandraClient) AddKeygroupReplica

func (c *AlexandraClient) AddKeygroupReplica(keygroup, node string, expiry int64, expectError bool)

func (*AlexandraClient) CreateKeygroup

func (c *AlexandraClient) CreateKeygroup(firstNodeID string, kgname string, mutable bool, expiry int64, expectError bool)

func (*AlexandraClient) Read

func (c *AlexandraClient) Read(keygroup, id string, minExpiry int64, expectError bool) []string

func (*AlexandraClient) Update

func (c *AlexandraClient) Update(kgname, id, data string, expectError bool)

Jump to

Keyboard shortcuts

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