dinkurclient

package
v0.0.0-...-d280c18 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Overview

Package dinkurclient contains a Dinkur gRPC client implementation.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUintTooLarge        = fmt.Errorf("unsigned int value is too large, maximum: %d", uint64(math.MaxUint))
	ErrResponseIsNil       = errors.New("grpc response was nil")
	ErrUnexpectedNilEntry  = errors.New("unexpected nil entry")
	ErrUnexpectedNilStatus = errors.New("unexpected nil status")
)

Errors that are specific to the Dinkur gRPC client.

Functions

func NewClient

func NewClient(serverAddr string, opt Options) dinkur.Client

NewClient returns a new dinkur.Client-compatible implementation that uses gRPC towards a remote Dinkur daemon to perform all dinkur.Client entries.

Types

type Options

type Options struct{}

Options for the Dinkur client.

Jump to

Keyboard shortcuts

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