Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInner ¶
func NewInner(handlers []lava.GrpcRouter, dixMiddlewares []lava.Middleware, metric metrics.Metric, log log.Logger) *lava.InnerServer
NewInner grpc 服务内部通信
Types ¶
type DefaultQueryParser ¶
type DefaultQueryParser struct{}
func (*DefaultQueryParser) Parse ¶
func (*DefaultQueryParser) Parse(msg proto.Message, values url.Values, filter *utilities.DoubleArray) error
Parse populates "values" into "msg". A value is ignored if its key starts with one of the elements in "filter".
type GrpcServerConfigLoader ¶
type GrpcServerConfigLoader struct {
GrpcServer *Config `yaml:"grpc_server"`
}
Click to show internal directories.
Click to hide internal directories.