acme

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2020 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exec

func Exec(config *Config) error

Exec 执行acme子命令

Types

type Config

type Config struct {
	Cmd *flag.FlagSet

	Install bool // 安装acme.sh

	Issue      bool // 申请证书
	Standalone bool // 模拟一个http服务器
	Nginx      bool // 通过nginx验证

	Hostname string // 操作的域名
}

Config Acme工具配置结构

func (*Config) Usage

func (c *Config) Usage()

Usage 帮助信息

func (*Config) Validate

func (c *Config) Validate() bool

Validate 检查配置参数是否有效

Jump to

Keyboard shortcuts

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