Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHTTPConn ¶
func NewRPCConn ¶
func NewRPCConn(microServerConf *conf.MicroServer, discovery *conf.Discovery) (*grpc.ClientConn, error)
Types ¶
type Option ¶
type Option struct { RPCOpts []grpc.CallOption HTTPOpts []http.CallOption }
Option grpc/http option
Click to show internal directories.
Click to hide internal directories.