define

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL