Documentation ¶
Overview ¶
Package config @Link https://gitee.com/linngc/center.gf @Copyright Copyright (c) 2022 center CLI @Author linngc @License
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MavenConfig ¶
type MavenConfig struct { Cache string `` /* 176-byte string literal not displayed */ Central []string `yaml:"central" default:"[\"https://repo1.maven.org/maven2/\"]" dc:"Mirrors中央仓库"` Mirror []string `` /* 222-byte string literal not displayed */ Repository map[string]*Repository `yaml:"repository" default:"[{\"Id\":\"public\",\"Name\":\"mirror\"}]"` }
type Repository ¶
type Repository struct { Id string `yaml:"id" dc:"仓库ID"` Name string `yaml:"name" dc:"仓库名字, 随意,唯一即可"` Mode int `yaml:"mode" default:"6" dc:"模式,默认为6,参数描述:0 无效 2 仅可写 4 仅可读 6 可读写"` Auth bool `yaml:"auth" default:"true" dc:"是否鉴权, 默认鉴权,参数描述:true 鉴权 false不鉴权"` Cache bool `yaml:"cache" default:"true" dc:"是否缓存镜像文件, 默认缓存,参数描述:true 缓存 false不缓存"` }
Click to show internal directories.
Click to hide internal directories.