Documentation ¶
Index ¶
Constants ¶
View Source
const (
ClientPreface = "PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPCClient ¶
type GRPCClient interface { Call(ctx context.Context, serviceMethod string, req, res proto.Message) error Close() }
func NewGRPCClient ¶
func NewGRPCClient(serverURL *url.URL) (GRPCClient, error)
Click to show internal directories.
Click to hide internal directories.