15 lines
442 B
Go
15 lines
442 B
Go
package app
|
|
|
|
import (
|
|
"context"
|
|
|
|
"gitea.dwysokinski.me/twhelp/corev3/internal/domain"
|
|
)
|
|
|
|
type TWService interface {
|
|
GetOpenServers(ctx context.Context, baseURL string) (domain.BaseServers, error)
|
|
GetServerConfig(ctx context.Context, baseURL string) (domain.ServerConfig, error)
|
|
GetUnitInfo(ctx context.Context, baseURL string) (domain.UnitInfo, error)
|
|
GetBuildingInfo(ctx context.Context, baseURL string) (domain.BuildingInfo, error)
|
|
}
|