Documentation
¶
Index ¶
- type GRPCProxy
- func (p *GRPCProxy) AddFailedCount(count uint) error
- func (p *GRPCProxy) Close() error
- func (p *GRPCProxy) ID() string
- func (p *GRPCProxy) IsAvailable() bool
- func (p *GRPCProxy) ServeHTTP(ctx context.Context, c *app.RequestContext)
- func (p *GRPCProxy) Tag(key string) (value string, exist bool)
- func (p *GRPCProxy) Target() string
- func (p *GRPCProxy) Weight() uint32
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPCProxy ¶
type GRPCProxy struct {
// contains filtered or unexported fields
}
func (*GRPCProxy) AddFailedCount ¶
func (*GRPCProxy) IsAvailable ¶
func (*GRPCProxy) ServeHTTP ¶
func (p *GRPCProxy) ServeHTTP(ctx context.Context, c *app.RequestContext)
ServeHTTP implements the http.Handler interface
Click to show internal directories.
Click to hide internal directories.