Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompoundServiceDesc ¶
type CompoundServiceDesc struct {
// contains filtered or unexported fields
}
func NewCompoundServiceDesc ¶
func NewCompoundServiceDesc(desc ...ServiceDesc) *CompoundServiceDesc
func (*CompoundServiceDesc) RegisterGRPC ¶
func (d *CompoundServiceDesc) RegisterGRPC(g *grpc.Server)
func (*CompoundServiceDesc) RegisterHTTP ¶
func (d *CompoundServiceDesc) RegisterHTTP(r Router)
func (*CompoundServiceDesc) SwaggerDef ¶
func (d *CompoundServiceDesc) SwaggerDef() []byte
type Router ¶
type Router interface { Handle(pattern string, h http.Handler) HandleFunc(pattern string, h func(http.ResponseWriter, *http.Request)) }
Router routes HTTP requests around.
type Service ¶
type Service interface {
GetDescription() ServiceDesc
}
Service is a registerable collection of endpoints. These functions should be autogenerated by LZD Protobuf codegenerator.
Click to show internal directories.
Click to hide internal directories.