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 }
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
protoc-gen-wzo-gin
Module
|
|
protoc-gen-wzo-resty
Module
|
|
core
|
|
examples
|
|
third_party/gogoproto
Package gogoproto provides extensions for protocol buffers to achieve:
|
Package gogoproto provides extensions for protocol buffers to achieve: |
proto
|
|
Click to show internal directories.
Click to hide internal directories.