Versions in this module Expand all Collapse all v3 v3.13.1 Sep 21, 2022 Changes in this version + const DefaultAddress + type Client struct + func NewClient(options *Options) *Client + func (client *Client) Call(service, endpoint string, request, response interface{}) error + func (client *Client) Handle(service, endpoint string) http.Handler + func (client *Client) SetAddress(a string) + func (client *Client) SetTimeout(d time.Duration) + func (client *Client) SetToken(t string) + func (client *Client) Stream(service, endpoint string, request interface{}) (*Stream, error) + type Options struct + Address string + Timeout time.Duration + Token string + type Request struct + Body string + Endpoint string + Service string + type Response struct + Body string + Code int + Detail string + ID string + Status string + type Stream struct + func (s *Stream) Recv(v interface{}) error + func (s *Stream) Send(v interface{}) error