{"modulePath":"github.com/cox96de/runner","version":"v0.0.0-20250417061300-6a3170c6b79d","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package main\n\n## Functions\n\n```go\nfunc ComposeDB(c *composer.DB) (*gorm.DB, error)\n```\n\n```go\nfunc ComposeInternalRedis() (*goredis.Client, error)\n```\nComposeInternalRedis returns a redis client with internal redis.\n\n```go\nfunc ComposeRedis(r *composer.Redis) (*goredis.Client, error)\n```\n\n## Types\n\n```go\ntype CloneStep struct {\n\tScript string `yaml:\"script\"`\n}\n```\n\n```go\ntype Config struct {\n\tGithubAppID int64  `yaml:\"github_app_id\"`\n\tPrivateKey  string `yaml:\"private_key\"`\n\t// DB is the database configuration.\n\tDB *composer.DB `yaml:\"db\"`\n\t// ExportURL is the URL of the log page.\n\tExportURL string `yaml:\"export_url\"`\n\t// ListenAddr is the listen url such :80.\n\tListenAddr string `yaml:\"listen_addr\"`\n\t// BaseURL is the prefix path of the web server.\n\tBaseURL      string        `yaml:\"base_url\"`\n\tCloneStep    *CloneStep    `yaml:\"clone_step\"`\n\tRunnerServer *RunnerServer `yaml:\"runner_server\"`\n\tVMs          []*app.VMMeta `yaml:\"vms\"`\n}\n```\n\n```go\ntype RunnerServer struct {\n\tDB                 *composer.DB    `yaml:\"db\"`\n\tGRPCPort           int             `yaml:\"grpc_port\"`\n\tRedis              *composer.Redis `yaml:\"redis\"`\n\tLogArchiveDir      string          `yaml:\"log_archive_dir\"`\n\tLogArchiveS3       *composer.S3    `yaml:\"log_archive_s3\"`\n\tLogArchiveS3Bucket string          `yaml:\"log_archive_s3_bucket\"`\n}\n```\n\n","path":"github.com/cox96de/runner/githubapp/cmd","name":"main","synopsis":"","isRedistributable":true}
