Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPC ¶
type GRPC interface {
Handle(context.Context, *api.Request) (*api.Response, map[string]string, error)
}
GRPC defines the interface for a GRPC client
type GRPCImpl ¶
type GRPCImpl struct {
// contains filtered or unexported fields
}
GRPCImpl is the concrete implementation of the GRPC client
type HTTP ¶
type HTTP interface {
Do(r *http.Request, pr *http.Request) (int, []byte, map[string]string, map[string]string, error)
}
HTTP defines an interface for upstream HTTP client requests
type HTTPImpl ¶
type HTTPImpl struct {
// contains filtered or unexported fields
}
HTTPImpl is the concrete implementation of the HTTP interface
Click to show internal directories.
Click to hide internal directories.