Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet( wire.Struct(new(controller.Options), "*"), NewGrpcServer, NewHttpServer, )
Functions ¶
func InitApp ¶
func InitApp(app *application.Application) error
Types ¶
type GrpcServer ¶
type GrpcServer struct { *xgrpc.Server Helloworld *service.HelloWorld }
func NewGrpcServer ¶
func NewGrpcServer(opts *service.HelloWorld) *GrpcServer
func (*GrpcServer) Mux ¶
func (s *GrpcServer) Mux()
type HttpServer ¶
type HttpServer struct { *xecho.Server controller.Options }
func NewHttpServer ¶
func NewHttpServer(opts controller.Options) *HttpServer
Click to show internal directories.
Click to hide internal directories.