Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
Application is the application service. It contains all the services and configurations.
func (*Application) AwaitSignal ¶
func (a *Application) AwaitSignal()
AwaitSignal await the signal to stop the server
type Option ¶
type Option func(app *Application) error
Option is the option of application.
func WithGrpcServer ¶
WithGrpcServer sets the grpc server.
func WithHttpServer ¶
WithHttpServer sets the http server.
Click to show internal directories.
Click to hide internal directories.