Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(conn *igooglegrpc.ClientConn, opts ...Option) icalc.CalculatorService
New returns an CalculatorService backed by a gRPC server at the other end of the conn.
Types ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
A Option sets options to config.
func WithMiddlewares ¶
func WithMiddlewares( middlewares ...ikitendpoint.Middleware, ) Option
func WithRegistry ¶
func WithRegistry(registry *icalculatorgrpc.Registry) Option
func WithTransportOptions ¶
func WithTransportOptions( opts ...ikitgrpc.ClientOption, ) Option
Click to show internal directories.
Click to hide internal directories.