Documentation ¶
Index ¶
- func InitAllApp() error
- func LoadGinApp(pathPrefix string, root gin.IRouter)
- func LoadGrpcApp(server *grpc.Server)
- func LoadHttpApp(pathPrefix string, root router.Router)
- func LoadedGinApp() (apps []string)
- func LoadedGrpcApp() (apps []string)
- func LoadedHttpApp() (apps []string)
- func LoadedInternalApp() (apps []string)
- func RegistryGinApp(app GinApp)
- func RegistryGrpcApp(app GRPCApp)
- func RegistryHttpApp(app HTTPApp)
- func RegistryInternalApp(app InternalApp)
- type GRPCApp
- type GinApp
- type HTTPApp
- type InternalApp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitAllApp ¶ added in v1.5.3
func InitAllApp() error
func LoadGinApp ¶ added in v1.6.9
LoadGinApp 装载所有的gin app
func LoadHttpApp ¶
LoadHttpApp 装载所有的http app
func LoadedInternalApp ¶ added in v1.5.1
func LoadedInternalApp() (apps []string)
LoadedInternalApp 查询加载成功的服务
func RegistryInternalApp ¶ added in v1.5.1
func RegistryInternalApp(app InternalApp)
RegistryInternalApp 服务实例注册
Types ¶
type InternalApp ¶ added in v1.5.1
InternalApp 内部服务实例, 不需要暴露
func GetInternalApp ¶ added in v1.5.1
func GetInternalApp(name string) InternalApp
Click to show internal directories.
Click to hide internal directories.