Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server wraps FrostFS API Accounting service and provides gRPC Accounting service server interface.
func New ¶
func New(c accountingsvc.Server) *Server
New creates, initializes and returns Server instance.
func (*Server) Balance ¶
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.