Documentation ¶
Index ¶
- func GetConfig() (interface{}, error)
- func GetConfigWithFile(configFile string) (interface{}, error)
- func GetConfigWithFileEnv(configFile string, env interface{}) (interface{}, error)
- func GetFileContent(configFile string) ([]byte, error)
- func GetPlugin(path string) (*plugin.Plugin, error)
- func In(p *plugin.Plugin, config interface{}, s def.IService) error
- type App
- type Service
- type ServiceItem
- type Srv
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigWithFile ¶
func GetConfigWithFileEnv ¶
func GetFileContent ¶
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func (*App) GetConfigFile ¶
func (*App) GetPluginFile ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService() *Service
func (*Service) HandleFunc ¶
type ServiceItem ¶
type ServiceItem struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.