client

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client 客户端

func NewClient

func NewClient(acc *account.Account) (*Client, *errors.Error)

NewClient 创建新客户端

func (*Client) AccountRegister

func (cli *Client) AccountRegister() (*registration.Resource, *errors.Error)

AccountRegister 注册账户

func (*Client) CertificateObtain

func (cli *Client) CertificateObtain(domains []string, secret crypto.PrivateKey) (*certificate.Resource, *errors.Error)

CertificateObtain 证书获取

func (*Client) SetupChallenge

func (cli *Client) SetupChallenge(name string, domain string, conf *config.DomainConf) *errors.Error

SetupChallenge 初始化 Challenge

Jump to

Keyboard shortcuts

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