Documentation ¶
Index ¶
Constants ¶
View Source
const IsVersion2 = "v2"
IsVersion2 is a static check for lib<->generator version mismatch.
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(options ...swagger.Option) []byte
type Service ¶
type Service interface {
GetDescription() ServiceDesc
}
Service is a registerable collection of endpoints. These functions should be autogenerated by protoc-gen-goclay.
Directories ¶
Path | Synopsis |
---|---|
httpmw
Package httpmw provides middlewares that are automatically used by the generated code.
|
Package httpmw provides middlewares that are automatically used by the generated code. |
middlewares
|
|
mwcommon
Package mwcommon is DEPRECATED, left for backwards compatibility.
|
Package mwcommon is DEPRECATED, left for backwards compatibility. |
mwgrpc
Package mwgrpc is DEPRECATED, left for backwards compatibility.
|
Package mwgrpc is DEPRECATED, left for backwards compatibility. |
mwhttp
Package mwhttp is DEPRECATED, left for backwards compatibility.
|
Package mwhttp is DEPRECATED, left for backwards compatibility. |
Package server is DEPRECATED, left for backwards compatibility.
|
Package server is DEPRECATED, left for backwards compatibility. |
Click to show internal directories.
Click to hide internal directories.