ssl

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2020 License: MIT, MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcmeCreateTaskAction

type AcmeCreateTaskAction actions.Action

func (*AcmeCreateTaskAction) RunGet

func (this *AcmeCreateTaskAction) RunGet(params struct {
	ServerId string
})

创建证书生成任务

func (*AcmeCreateTaskAction) RunPost

func (this *AcmeCreateTaskAction) RunPost(params struct {
	Must *actions.Must
})

type AcmeCreateUserAction

type AcmeCreateUserAction actions.Action

func (*AcmeCreateUserAction) RunGet

func (this *AcmeCreateUserAction) RunGet(params struct {
	ServerId string
})

创建用户

func (*AcmeCreateUserAction) RunPost

func (this *AcmeCreateUserAction) RunPost(params struct {
	Email string
	Name  string
	Must  *actions.Must
})

提交注册

type AcmeDeleteTaskAction

type AcmeDeleteTaskAction actions.Action

func (*AcmeDeleteTaskAction) RunPost

func (this *AcmeDeleteTaskAction) RunPost(params struct {
	ServerId string
	TaskId   string
})

删除ACME任务

type AcmeDnsCheckingAction

type AcmeDnsCheckingAction actions.Action

func (*AcmeDnsCheckingAction) RunPost

func (this *AcmeDnsCheckingAction) RunPost(params struct {
	ServerId string
	UserId   string
	Domains  string
	Records  string
})

ACME DNS检查

type AcmeDownloadAction

type AcmeDownloadAction actions.Action

func (*AcmeDownloadAction) RunGet

func (this *AcmeDownloadAction) RunGet(params struct {
	ServerId string
	TaskId   string
	Type     string
})

下载ACME证书

type AcmeRecordsAction

type AcmeRecordsAction actions.Action

func (*AcmeRecordsAction) RunPost

func (this *AcmeRecordsAction) RunPost(params struct {
	UserId  string
	Domains string
})

ACME记录

type AcmeRenewTaskAction

type AcmeRenewTaskAction actions.Action

func (*AcmeRenewTaskAction) RunPost

func (this *AcmeRenewTaskAction) RunPost(params struct {
	ServerId string
	TaskId   string
})

删除ACME任务

type AcmeTaskAction

type AcmeTaskAction actions.Action

func (*AcmeTaskAction) RunGet

func (this *AcmeTaskAction) RunGet(params struct {
	ServerId string
	TaskId   string
})

ACME任务详情

type AcmeUserDeleteAction

type AcmeUserDeleteAction actions.Action

func (*AcmeUserDeleteAction) RunPost

func (this *AcmeUserDeleteAction) RunPost(params struct {
	UserId string
})

删除用户

type AcmeUsersAction

type AcmeUsersAction actions.Action

func (*AcmeUsersAction) RunGet

func (this *AcmeUsersAction) RunGet(params struct {
	ServerId string
})

ACME用户列表

type DownloadFileAction

type DownloadFileAction actions.Action

func (*DownloadFileAction) RunGet

func (this *DownloadFileAction) RunGet(params struct {
	ServerId string
	File     string
	View     bool
})

下载证书和密钥相关文件

type GenerateAction

type GenerateAction actions.Action

func (*GenerateAction) RunGet

func (this *GenerateAction) RunGet(params struct {
	ServerId string
})

证书生成程序 参考lego:https://go-acme.github.io/lego/usage/library/

type IndexAction

type IndexAction actions.Action

func (*IndexAction) Run

func (this *IndexAction) Run(params struct {
	ServerId string
})

SSL设置

type MakeSharedAction

type MakeSharedAction actions.Action

func (*MakeSharedAction) RunPost

func (this *MakeSharedAction) RunPost(params struct {
	ServerId string
	CertId   string
})

让证书共享化,即加入公共的证书管理中

type ShutdownHttpsAction

type ShutdownHttpsAction actions.Action

func (*ShutdownHttpsAction) Run

func (this *ShutdownHttpsAction) Run(params struct {
	ServerId string
})

启动

type StartHttpsAction

type StartHttpsAction actions.Action

func (*StartHttpsAction) Run

func (this *StartHttpsAction) Run(params struct {
	ServerId string
})

启动

type UpdateAction

type UpdateAction actions.Action

func (*UpdateAction) Run

func (this *UpdateAction) Run(params struct {
	ServerId string
})

修改

func (*UpdateAction) RunPost

func (this *UpdateAction) RunPost(params struct {
	ServerId     string
	HttpsOn      bool
	Http2Enabled bool

	Listen           []string
	CertIds          []string
	CertDescriptions []string

	CertIsLocal    []bool
	CertIsShared   []bool
	CertFilesPaths []string
	KeyFilesPaths  []string

	MinVersion     string
	CipherSuitesOn bool
	CipherSuites   []string

	HstsOn                bool
	HstsMaxAge            int
	HstsIncludeSubDomains bool
	HstsPreload           bool
	HstsDomains           []string

	ClientAuthType int
	CACertIds      []string `alias:"caCertIds"`
})

提交保存

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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