11 lines
168 B
Go
11 lines
168 B
Go
package webservices
|
|
|
|
type Service interface {
|
|
Start() error
|
|
Stop() error
|
|
ReloadConfig(config interface{}) error
|
|
GetPort() int
|
|
GetType() string
|
|
IsRunning() bool
|
|
}
|