Documentation
¶
Overview ¶
Package basehertz contains a base transport which is used by hertz transports.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTransport ¶
func NewTransport(name string, logger log.Logger, scheme string, clientCreator TransportClientCreator, ) (orb.TransportType, error)
NewTransport creates a Transport with a custom http.Client.
Types ¶
type Transport ¶
type Transport struct {
// contains filtered or unexported fields
}
Transport is a go-orb/plugins/client/orb compatible transport.
type TransportClientCreator ¶
TransportClientCreator is a factory for a client transport.
Click to show internal directories.
Click to hide internal directories.