Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶ added in v0.12.0
type Server struct {
// contains filtered or unexported fields
}
Server wraps NeoFS API Accounting service and provides gRPC Accounting service server interface.
func New ¶
func New(c accounting.Service) *Server
New creates, initializes and returns Server instance.
func (*Server) Balance ¶ added in v0.12.0
func (s *Server) Balance(ctx context.Context, req *accountingGRPC.BalanceRequest) (*accountingGRPC.BalanceResponse, error)
Balance converts gRPC BalanceRequest message and passes it to internal Accounting service.
Click to show internal directories.
Click to hide internal directories.