Documentation ¶
Index ¶
- func GetGrpcApp(objName string) any
- func GetHttpApp(objName string) any
- func GetInternalApp(objName string) any
- func InitGrpcApps(server *grpc.Server) error
- func InitHttpApps(r gin.IRouter) error
- func InitInternalApps() error
- func InitRestfulApps(pathPrefix string, root *restful.Container) error
- func LoadedGinApp() (apps []string)
- func LoadedGrpcApp() (apps []string)
- func LoadedInternalApp() (apps []string)
- func LoadedRESTfulApp() (apps []string)
- func RegistryGrpcApp(obj GrpcIocObject)
- func RegistryHttpApp(obj HttpIocObject)
- func RegistryInternalApp(obj IocObject)
- func RegistryRESTfulApp(app RESTfulApp)
- type GrpcIocObject
- type HttpIocObject
- type IocObject
- type RESTfulApp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitRestfulApps ¶ added in v1.0.4
初始化配置restful实例
func LoadedInternalApp ¶ added in v1.0.9
func LoadedInternalApp() (apps []string)
LoadedInternalApp 查询加载成功的服务
func LoadedRESTfulApp ¶ added in v1.0.4
func LoadedRESTfulApp() (apps []string)
LoadedHttpApp 查询加载成功的服务
func RegistryRESTfulApp ¶ added in v1.0.4
func RegistryRESTfulApp(app RESTfulApp)
RegistryRESTfulApp 服务实例注册
Types ¶
type GrpcIocObject ¶
定义注册和初始化grpc实例的接口
type HttpIocObject ¶
定义注册和初始化gin实例的接口
type RESTfulApp ¶ added in v1.0.4
HTTPService Http服务的实例
Click to show internal directories.
Click to hide internal directories.