Documentation ¶
Index ¶
Constants ¶
View Source
const MaxCallRecvMsgSize = 1024 * 1024 * 32
Variables ¶
This section is empty.
Functions ¶
func NewGRPCProxy ¶
func NewGRPCProxy(cb ProxyCallBack, healthCheckPath string, cmdFlags common.ConsumerCmdFlags, healthReporter HealthReporter) (*grpc.Server, *http.Server, error)
Types ¶
type HealthReporter ¶
type HealthReporter interface {
IsHealthy() bool
}
type ProxyCallBack ¶
type RawBytesCodec ¶
type RawBytesCodec struct{}
func (RawBytesCodec) Marshal ¶
func (RawBytesCodec) Marshal(v interface{}) ([]byte, error)
func (RawBytesCodec) Name ¶
func (RawBytesCodec) Name() string
func (RawBytesCodec) String ¶
func (RawBytesCodec) String() string
func (RawBytesCodec) Unmarshal ¶
func (RawBytesCodec) Unmarshal(data []byte, v interface{}) error
Click to show internal directories.
Click to hide internal directories.