Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrBadRequest = errors.New("bad user request")
)
Functions ¶
This section is empty.
Types ¶
type GRPCClient ¶
type GRPCClient struct {
Conn *grpc.ClientConn
}
func NewGRPCClient ¶
func NewGRPCClient(host, port string) (*GRPCClient, error)
type RestClient ¶
type RestClient struct {
// contains filtered or unexported fields
}
func NewRestClient ¶
func NewRestClient(host, port string) (*RestClient, error)
func (*RestClient) Proxy ¶
func (s *RestClient) Proxy() http.HandlerFunc
Click to show internal directories.
Click to hide internal directories.