Documentation ¶
Index ¶
Constants ¶
View Source
const LoggerTag = "RPCSPLITTER"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Transport ¶
type Transport struct {
// contains filtered or unexported fields
}
Transport implements the http.RoundTripper interface. It creates a virtual host with RPC Splitter.
func NewTransport ¶
func NewTransport(endpoints []string, vhost string, transport http.RoundTripper, log log.Logger) (*Transport, error)
NewTransport returns a new instance of Transport.
Click to show internal directories.
Click to hide internal directories.