Versions in this module Expand all Collapse all v0 v0.0.0 Apr 4, 2019 Changes in this version + const StdPort + const StdProtocol + type Client struct + Timeout time.Duration + type Discovery interface + URL func() (string, error) + type DiscoveryDNSA struct + Host string + Port string + Protocol string + Resolv string + func (d *DiscoveryDNSA) URL() (string, error) + type DiscoveryDefault struct + Host string + Port string + Protocol string + func (d *DiscoveryDefault) URL() (string, error) + type HTTPTransporter struct + func NewHTTPTransporter(options Options) (*HTTPTransporter, error) + func (h *HTTPTransporter) Call(ctx context.Context, function string, requestData []byte) (response []byte, err error) + func (h *HTTPTransporter) Close() error + func (h *HTTPTransporter) Listen(function string, ...) (err error) + func (h *HTTPTransporter) Start() error + type Options struct + Client Client + Discovery Discovery + Server Server + type Server struct + Addr string + TLSConfig *tls.Config