Documentation ¶
Index ¶
- Variables
- type Config
- type Service
- func (s *Service) AutoStart() error
- func (s *Service) Bootstrap() error
- func (s *Service) Create(accConfig *instance.AccConfigFiles, accWebSettings instance.AccWebSettingsJson) (*instance.Instance, error)
- func (s *Service) Delete(id string) error
- func (s *Service) Duplicate(srcId string) (*instance.Instance, error)
- func (s *Service) GetAccServerExeMd5Sum() error
- func (s *Service) GetServerByID(id string) (*instance.Instance, error)
- func (s *Service) GetServers() map[string]*instance.Instance
- func (s *Service) LoadAll() error
- func (s *Service) Start(id string) error
- func (s *Service) StopAll() error
- func (s *Service) UpdateServersServerExeFile() error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ConfigBaseDir string AccServerPath string AccServerExe string AccServerMd5Sum string }
func (Config) AccServerFullPath ¶ added in v1.20.0
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) Create ¶
func (s *Service) Create(accConfig *instance.AccConfigFiles, accWebSettings instance.AccWebSettingsJson) (*instance.Instance, error)
func (*Service) GetAccServerExeMd5Sum ¶
func (*Service) GetServerByID ¶
func (*Service) UpdateServersServerExeFile ¶
Click to show internal directories.
Click to hide internal directories.