Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MetadataWithMocker ¶
func NewInsecureTLSTransport ¶
func NewInsecureTLSTransport(rootCA []byte) transport_http.TransportWrapper
Types ¶
type Client ¶
type Client struct {
Name string
// used in service
Service string
Version string
Host string `conf:"upstream" validate:"@hostname"`
Mode string
Port int16
Timeout time.Duration
WrapTransport transport_http.TransportWrapper `json:"-"`
}
func (Client) GetBaseURL ¶
func (Client) MarshalDefaults ¶
func (Client) MarshalDefaults(v interface{})
type MockData ¶
type MockRequest ¶
func (*MockRequest) Do ¶
func (mock *MockRequest) Do() courier.Result
Click to show internal directories.
Click to hide internal directories.