Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MODULE_CLASSIFY = NewServiceModule("classify.lands", "./configs/classify.ini", "/v1/classify") MODULE_FS = NewServiceModule("static.lands", "./configs/static.ini", "/v1/static/*filepath") )
Functions ¶
This section is empty.
Types ¶
type ServiceModule ¶
type ServiceModule struct {
// contains filtered or unexported fields
}
func NewServiceModule ¶
func NewServiceModule(name, config, location string) *ServiceModule
func (*ServiceModule) GetConf ¶
func (s *ServiceModule) GetConf() string
func (*ServiceModule) GetLocation ¶
func (s *ServiceModule) GetLocation() string
func (*ServiceModule) GetName ¶
func (s *ServiceModule) GetName() string
Click to show internal directories.
Click to hide internal directories.