Documentation ¶
Index ¶
- type APIClient
- type LocalCache
- type LocalStore
- type Runner
- func (r *Runner) Init(ctx context.Context, cfg *config.Config) error
- func (r *Runner) RunGDaemonServer(ctx context.Context, cfg *config.Config) func() error
- func (r *Runner) RunGDaemonTaskScheduler(ctx context.Context, _ *config.Config) func() error
- func (r *Runner) RunServerScheduler(ctx context.Context, cfg *config.Config) func() error
- func (r *Runner) RunServersLoop(ctx context.Context, cfg *config.Config) func() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIClient ¶
type APIClient struct {
// contains filtered or unexported fields
}
func NewAPICaller ¶
func (*APIClient) Request ¶
func (c *APIClient) Request(ctx context.Context, request domain.APIRequest) (contracts.APIResponse, error)
type LocalCache ¶
type LocalCache struct {
// contains filtered or unexported fields
}
func NewLocalCache ¶
func NewLocalCache(_ *config.Config) (*LocalCache, error)
type LocalStore ¶
type LocalStore struct {
// contains filtered or unexported fields
}
func NewLocalStore ¶
func NewLocalStore(_ *config.Config) (*LocalStore, error)
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
func NewProcessRunner ¶
func NewProcessRunner( cfg *config.Config, executor contracts.Executor, commandFactory *gameservercommands.ServerCommandFactory, apiClient contracts.APIRequestMaker, gdTaskManager *gdaemonscheduler.TaskManager, serverRepository domain.ServerRepository, serverTaskRepository domain.ServerTaskRepository, ) (*Runner, error)
func (*Runner) RunGDaemonServer ¶
func (*Runner) RunGDaemonTaskScheduler ¶
func (*Runner) RunServerScheduler ¶
Click to show internal directories.
Click to hide internal directories.