Documentation ¶
Index ¶
- type Dependency
- type IsWebServer
- type Service
- func (s *Service) ConfigFileName() string
- func (s *Service) DefaultConfig() (cfg configFile.Config)
- func (s *Service) DependenciesResolved() bool
- func (s *Service) Init(mesh servicemesh.Mesh)
- func (s *Service) LoadConfig(config *configFile.Config)
- func (s *Service) Logger() *slog.Logger
- func (s *Service) Name() string
- func (s *Service) Ready() bool
- func (s *Service) ResolveDependencies(services []servicemesh.Service)
- func (s *Service) RestartServer()
- func (s *Service) SetLogger(l *slog.Logger)
- func (s *Service) StartServer()
- func (s *Service) StopServer()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependency ¶
type Dependency = IsWebServer
type IsWebServer ¶
type IsWebServer interface { RestartServer() StartServer() StopServer() }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) ConfigFileName ¶
func (*Service) DefaultConfig ¶
func (s *Service) DefaultConfig() (cfg configFile.Config)
func (*Service) DependenciesResolved ¶
func (*Service) Init ¶
func (s *Service) Init(mesh servicemesh.Mesh)
func (*Service) LoadConfig ¶
func (s *Service) LoadConfig(config *configFile.Config)
func (*Service) ResolveDependencies ¶
func (s *Service) ResolveDependencies(services []servicemesh.Service)
func (*Service) RestartServer ¶
func (s *Service) RestartServer()
func (*Service) StartServer ¶
func (s *Service) StartServer()
func (*Service) StopServer ¶
func (s *Service) StopServer()
Click to show internal directories.
Click to hide internal directories.