Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Aggregate(context.Context, *types.AggregateRequest) error GetInvoice(context.Context, int) (*types.Invoice, error) }
func NewGRPCClient ¶
func NewHTTPClient ¶
type GRPCClient ¶
type GRPCClient struct { Endpoint string // contains filtered or unexported fields }
func (*GRPCClient) Aggregate ¶
func (c *GRPCClient) Aggregate(ctx context.Context, req *types.AggregateRequest) error
func (*GRPCClient) GetInvoice ¶
type HTTPClient ¶
type HTTPClient struct {
// contains filtered or unexported fields
}
func (*HTTPClient) Aggregate ¶
func (c *HTTPClient) Aggregate(ctx context.Context, req *types.AggregateRequest) error
func (*HTTPClient) GetInvoice ¶
Click to show internal directories.
Click to hide internal directories.