Documentation ¶
Index ¶
- func New(tclient ithrift.TClient, opts ...Option) icalc.CalculatorService
- type Option
- func WithAfter(after ...iconcertothrift.ClientResponseFunc) Option
- func WithBefore(before ...iconcertothrift.ClientRequestFunc) Option
- func WithFinalizer(fn ...iconcertothrift.ClientFinalizerFunc) Option
- func WithMiddlewares(middlewares ...ikitendpoint.Middleware) Option
- func WithRegistry(registry *icalculatorthrift.Registry) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
A Option sets options to config.
func WithAfter ¶
func WithAfter( after ...iconcertothrift.ClientResponseFunc, ) Option
func WithBefore ¶
func WithBefore( before ...iconcertothrift.ClientRequestFunc, ) Option
func WithFinalizer ¶
func WithFinalizer(fn ...iconcertothrift.ClientFinalizerFunc) Option
func WithMiddlewares ¶
func WithMiddlewares( middlewares ...ikitendpoint.Middleware, ) Option
func WithRegistry ¶
func WithRegistry(registry *icalculatorthrift.Registry) Option
Click to show internal directories.
Click to hide internal directories.