Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExecutionService ¶
func NewExecutionService(exec ServiceExecutor, metaHdr *session.ResponseMetaHeader) accounting.Service
NewExecutionService wraps ServiceExecutor and returns Accounting Service interface.
Passed meta header is attached to all responses.
func NewSignService ¶
func NewSignService(key *ecdsa.PrivateKey, svc accounting.Service) accounting.Service
Types ¶
type ServiceExecutor ¶
type ServiceExecutor interface {
Balance(context.Context, *accounting.BalanceRequestBody) (*accounting.BalanceResponseBody, error)
}
Click to show internal directories.
Click to hide internal directories.