import "github.com/goodrain/rainbond/cmd/api/option"
APIServer apiserver server
NewAPIServer new server
AddFlags config
SetLog 设置log
type Config struct { DBType string APIAddr string APIAddrSSL string DBConnectionInfo string EventLogServers []string NodeAPI []string BuilderAPI []string V1API string MQAPI string EtcdEndpoint []string APISSL bool APICertFile string APIKeyFile string APICaFile string WebsocketSSL bool WebsocketCertFile string WebsocketKeyFile string WebsocketAddr string Opentsdb string RegionTag string LoggerFile string EnableFeature []string Debug bool MinExtPort int // minimum external port LicensePath string LicSoPath string LogPath string }
Config config
Package option imports 3 packages (graph) and is imported by 8 packages. Updated 2019-12-11. Refresh now. Tools for package owners.