config

package
v0.0.0-...-44f8d64 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteDefaultCfg

func WriteDefaultCfg(path string)

WriteDefaultCfg 写默认配置文件

Types

type CloudConfig

type CloudConfig struct {
	Key    string `yaml:"key"`
	Secret string `yaml:"secret"`
	Region string `yaml:"region"`
}

CloudConfig 配置

type Config

type Config struct {
	Ali    CloudConfig `yaml:"ali"`
	Ucloud CloudConfig `yaml:"ucloud"`
}

Config 配置

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL