Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRiverClient ¶
func CreateRiverClient( logger *slog.Logger, chunkRepo chunk.Repository, imgService image.Service, blobStore blob.S3Store, pool *pgxpool.Pool, nodeRepo node.Repository, jobClient job.Client, packBuildInterval time.Duration, imgWorkerCfg worker.CreateImageWorkerConfig, checkWorkerCfg worker.CreateCheckpointWorkerConfig, packWorkerCfg worker.CreateResourcePackWorkerConfig, ) (*river.Client[pgx.Tx], error)
Types ¶
type Config ¶
type Config struct {
ListenAddr string
DBConnString string
OCIRegistry string
OCIRegistryUser string
OCIRegistryPass string
BaseImage string
ImageCacheDir string
ImagePlatform string
CheckpointJobTimeout time.Duration
CheckpointStatusCheckInterval time.Duration
Bucket string
AccessKey string
SecretKey string
PresignedURLExpiry time.Duration
UsePathStyle bool
OAuthClientID string
OAuthIssuerURL string
APITokenIssuer string
APITokenExpiry time.Duration
APITokenSigningKey string
ThumbnailMaxSizeKB int
ResourcePackBuildInterval time.Duration
ResourcePackWorkingDir string
ResourcePackTemplateKey string
ResourcePackItemTemplatePath string
ResourcePackModelTemplatePath string
ResourcePackModelDir string
ResourcePackItemDir string
ResourcePackTextureDir string
}
Click to show internal directories.
Click to hide internal directories.