Documentation ¶
Index ¶
- type Address
- type Balancer
- type Client
- func (c *Client) Delete(ctx context.Context, path string, req, rsp any) error
- func (c *Client) Get(ctx context.Context, path string, req, rsp any) error
- func (c *Client) Head(ctx context.Context, path string, req, rsp any) error
- func (c *Client) Invoke(ctx context.Context, method, path string, req, rsp any) error
- func (c *Client) Options(ctx context.Context, path string, req, rsp any) error
- func (c *Client) Patch(ctx context.Context, path string, req, rsp any) error
- func (c *Client) Post(ctx context.Context, path string, req, rsp any) error
- func (c *Client) Put(ctx context.Context, path string, req, rsp any) error
- func (c *Client) Use(mws ...Middleware) *Client
- type Handler
- type Middleware
- type Option
- type Peer
- type RR
- type Resolver
- type Target
- type Wrr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Use ¶
func (c *Client) Use(mws ...Middleware) *Client
type Middleware ¶
func Chain ¶
func Chain(m ...Middleware) Middleware
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
func WithServiceAddr ¶
func WithServiceName ¶
Click to show internal directories.
Click to hide internal directories.