disbad

package
v0.0.0-...-08795d0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Disbad

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

func New

func New() *Disbad

New provides initialization of the grpc-server

func (*Disbad) GetMaster

func (d *Disbad) GetMaster(ctx context.Context, clusterID string) (*models.Node, error)

func (*Disbad) JoinMaster

func (d *Disbad) JoinMaster(ctx context.Context, grpcAddr, raftAddr string) (string, error)

func (*Disbad) ReadKey

func (d *Disbad) ReadKey(ctx context.Context, clusterID, key string) (string, error)

ReadKey provides reading of the key

Jump to

Keyboard shortcuts

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