Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func (*App) GetHttpServer ¶
func (a *App) GetHttpServer() *httpserver.Server
func (*App) GetRpcServer ¶
type Option ¶
type Option func(*Options)
func AfterStart ¶
func BeforeStart ¶
func BeforeStop ¶
func InitHttpServer ¶
func InitHttpServer(f httpserver.InitHttpServerFunc) Option
func InitRpcServer ¶
func InitRpcServer(f server.InitRpcServerFunc) Option
type Options ¶
type Options struct { InitRpcServer server.InitRpcServerFunc InitHttpServer httpserver.InitHttpServerFunc BeforeStart []func() error AfterStart []func() error BeforeStop []func() error AfterStop []func() error }
Click to show internal directories.
Click to hide internal directories.