accounting

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2020 License: GPL-3.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContractClient

type ContractClient = *wrapper.Wrapper

ContractClient represents the client of Balance contract.

It is a type alias of the pointer to github.com/nspcc-dev/neofs-node/pkg/morph/client/balance/wrapper.Wrapper.

type Params

type Params struct {
	ContractClient ContractClient
}

Params groups the parameters of Accounting service server's constructor.

type Service

type Service interface {
	grpc.Service
	accounting.AccountingServer
}

Service is an interface of the server of Accounting service.

func New

func New(p Params) (Service, error)

New is an Accounting service server's constructor.

If Balance contract client is nil, wrapper.ErrNilWrapper is returned.

Jump to

Keyboard shortcuts

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