Documentation ¶
Index ¶
- func GetGrpcApp(name string)
- func GetGrpcImpl(name string) interface{}
- func GetImpl(name string) interface{}
- func InitAllApp() error
- func InitGin(r gin.IRouter)
- func InitGrpc(server *grpc.Server)
- func InitImpl()
- func InitRestful(pathPrefix string, root *restful.Container)
- func LoadGinApps() (names []string)
- func LoadGrpcApps() (names []string)
- func LoadImplApps() (names []string)
- func LoadRestfulApps() (names []string)
- func RegistryGrpc(svc GrpcService)
- func RegistryRestful(svc RestfulService)
- func ResitryGin(svc Ginservice)
- func ResitryImpl(svc ImplService)
- type Ginservice
- type GrpcService
- type ImplService
- type RestfulService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGrpcApp ¶
func GetGrpcApp(name string)
func GetGrpcImpl ¶
func GetGrpcImpl(name string) interface{}
func InitAllApp ¶
func InitAllApp() error
func InitRestful ¶
func InitRestful(pathPrefix string, root *restful.Container)
func LoadGrpcApps ¶
func LoadGrpcApps() (names []string)
func LoadImplApps ¶ added in v0.0.4
func LoadImplApps() (names []string)
func LoadRestfulApps ¶
func LoadRestfulApps() (names []string)
func RegistryRestful ¶
func RegistryRestful(svc RestfulService)
func ResitryGin ¶
func ResitryGin(svc Ginservice)
Types ¶
type Ginservice ¶
type GrpcService ¶
type RestfulService ¶
Click to show internal directories.
Click to hide internal directories.