certs

package
v0.1.72 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2019 License: MIT Imports: 25 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcmeAction

type AcmeAction actions.Action

func (*AcmeAction) RunGet

func (this *AcmeAction) RunGet(params struct{})

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

type AcmeCreateTaskAction

type AcmeCreateTaskAction actions.Action

func (*AcmeCreateTaskAction) RunGet

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

创建证书生成任务

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{})

创建用户

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 {
	TaskId string
})

删除ACME任务

type AcmeDnsCheckingAction

type AcmeDnsCheckingAction actions.Action

func (*AcmeDnsCheckingAction) RunPost

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

ACME DNS检查

type AcmeDownloadAction

type AcmeDownloadAction actions.Action

func (*AcmeDownloadAction) RunGet

func (this *AcmeDownloadAction) RunGet(params struct {
	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 {
	TaskId string
})

删除ACME任务

type AcmeTaskAction

type AcmeTaskAction actions.Action

func (*AcmeTaskAction) RunGet

func (this *AcmeTaskAction) RunGet(params struct {
	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{})

ACME用户列表

type DeleteAction

type DeleteAction actions.Action

func (*DeleteAction) RunPost

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

删除证书

type DetailAction

type DetailAction actions.Action

func (*DetailAction) RunGet

func (this *DetailAction) RunGet(params struct {
	CertId string
})

详情

type DownloadAction

type DownloadAction actions.Action

func (*DownloadAction) RunGet

func (this *DownloadAction) RunGet(params struct {
	CertId string
	Type   string
})

下载

type Helper

type Helper struct {
}

func (*Helper) BeforeAction

func (this *Helper) BeforeAction(action *actions.ActionObject)

type IndexAction

type IndexAction actions.Action

func (*IndexAction) RunGet

func (this *IndexAction) RunGet(params struct{})

证书列表

type UpdateAction

type UpdateAction actions.Action

func (*UpdateAction) RunGet

func (this *UpdateAction) RunGet(params struct {
	CertId string
})

修改

func (*UpdateAction) RunPost

func (this *UpdateAction) RunPost(params struct {
	CertId      string
	Description string

	IsLocal  bool
	CertType string

	CertFile *actions.File
	KeyFile  *actions.File

	CertPath string
	KeyPath  string

	On bool

	Must *actions.Must
})

提交修改

func (*UpdateAction) RunPostCA

func (this *UpdateAction) RunPostCA(params struct {
	CertId      string
	Description string

	IsLocal  bool
	CertType string

	CertFile *actions.File
	KeyFile  *actions.File

	CertPath string
	KeyPath  string

	On bool

	Must *actions.Must
})

证书+私钥

func (*UpdateAction) RunPostPair

func (this *UpdateAction) RunPostPair(params struct {
	CertId      string
	Description string

	IsLocal  bool
	CertType string

	CertFile *actions.File
	KeyFile  *actions.File

	CertPath string
	KeyPath  string

	On bool

	Must *actions.Must
})

证书+私钥

type UploadAction

type UploadAction actions.Action

func (*UploadAction) RunGet

func (this *UploadAction) RunGet(params struct{})

上传证书

func (*UploadAction) RunPost

func (this *UploadAction) RunPost(params struct {
	Description string

	IsLocal bool

	CertFile *actions.File
	KeyFile  *actions.File

	CertPath string
	KeyPath  string

	CertType string

	On bool

	Must *actions.Must
})

func (*UploadAction) RunPostCA

func (this *UploadAction) RunPostCA(params struct {
	Description string

	IsLocal bool

	CertFile *actions.File
	KeyFile  *actions.File

	CertPath string
	KeyPath  string

	CertType string

	On bool

	Must *actions.Must
})

上传CA证书

func (*UploadAction) RunPostPair

func (this *UploadAction) RunPostPair(params struct {
	Description string

	IsLocal bool

	CertFile *actions.File
	KeyFile  *actions.File

	CertPath string
	KeyPath  string

	CertType string

	On bool

	Must *actions.Must
})

上传证书+私钥对

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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