Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrpcHandler ¶
type GrpcHandler struct {
// contains filtered or unexported fields
}
func (*GrpcHandler) Generate ¶
func (a *GrpcHandler) Generate(config helper.GenerateConfig)
func (*GrpcHandler) Setup ¶
func (a *GrpcHandler) Setup(plugin *protogen.Plugin)
type GrpcHandlerTmpl ¶
func (*GrpcHandlerTmpl) Render ¶
func (t *GrpcHandlerTmpl) Render() string
type GrpcMethodTmpl ¶
func (*GrpcMethodTmpl) Render ¶
func (t *GrpcMethodTmpl) Render() string
type GrpcServer ¶
type GrpcServer struct {
// contains filtered or unexported fields
}
func (*GrpcServer) Generate ¶
func (a *GrpcServer) Generate(config helper.GenerateConfig)
func (*GrpcServer) Setup ¶
func (a *GrpcServer) Setup(plugin *protogen.Plugin)
type GrpcServerTmpl ¶
func (*GrpcServerTmpl) Render ¶
func (t *GrpcServerTmpl) Render() string
type HttpHandler ¶
type HttpHandler struct {
// contains filtered or unexported fields
}
func (*HttpHandler) Generate ¶
func (a *HttpHandler) Generate(config helper.GenerateConfig)
func (*HttpHandler) Setup ¶
func (a *HttpHandler) Setup(plugin *protogen.Plugin)
type HttpHandlerTmpl ¶
func (*HttpHandlerTmpl) Render ¶
func (t *HttpHandlerTmpl) Render() string
type HttpMethodTmpl ¶
type HttpMethodTmpl struct {
Handler
}
func (*HttpMethodTmpl) Render ¶
func (t *HttpMethodTmpl) Render() string
type HttpServer ¶
type HttpServer struct {
// contains filtered or unexported fields
}
func (*HttpServer) Generate ¶
func (a *HttpServer) Generate(config helper.GenerateConfig)
func (*HttpServer) Setup ¶
func (a *HttpServer) Setup(plugin *protogen.Plugin)
type HttpServerTmpl ¶
func (*HttpServerTmpl) Render ¶
func (t *HttpServerTmpl) Render() string
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) Generate ¶
func (a *Server) Generate(config helper.GenerateConfig)
type ServerTmpl ¶
type ServerTmpl struct {
SvcName string
}
func (*ServerTmpl) Render ¶
func (t *ServerTmpl) Render() string
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) Generate ¶
func (a *Service) Generate(config helper.GenerateConfig)
type ServiceTmpl ¶
func (*ServiceTmpl) Render ¶
func (t *ServiceTmpl) Render() string
Click to show internal directories.
Click to hide internal directories.