Documentation ¶
Index ¶
Constants ¶
View Source
const ( StorageS3 = "s3" StorageFileSystem = "filesystem" // NumberOfPkgNameLevels PkgName Levels (e.g. /npm/@username/package-name) NumberOfPkgNameLevels = 2 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ProjectConfigType ¶
type ProjectConfigType struct { ListenAddress string DatabaseUrl string AuthEndpoint string RegistryHosts struct { Pypi string Npm string Container string } Storage struct { ActiveBackend string FileSystemRoot string S3 struct { Region string Bucket string ApiKey string ApiSecret string ApiHost string } } }
func Get ¶
func Get() *ProjectConfigType
func (*ProjectConfigType) Init ¶
func (c *ProjectConfigType) Init()
Click to show internal directories.
Click to hide internal directories.