tool

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2022 License: AGPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoCert

func AutoCert()

func GetCertInfo

func GetCertInfo(domain string) (key *x509.Certificate, err error)

func IssueCert

func IssueCert(domain string) error

func Sort

func Sort(key string, order string, Type string, maps []gin.H) []gin.H

Types

type MapsSort

type MapsSort struct {
	Key     string
	Type    string
	Order   string
	MapList []gin.H
}

func (MapsSort) Len

func (m MapsSort) Len() int

func (MapsSort) Less

func (m MapsSort) Less(i, j int) bool

func (MapsSort) Swap

func (m MapsSort) Swap(i, j int)

type MyUser

type MyUser struct {
	Email        string
	Registration *registration.Resource
	// contains filtered or unexported fields
}

MyUser You'll need a user or account type that implements acme.User

func (*MyUser) GetEmail

func (u *MyUser) GetEmail() string

func (*MyUser) GetPrivateKey

func (u *MyUser) GetPrivateKey() crypto.PrivateKey

func (MyUser) GetRegistration

func (u MyUser) GetRegistration() *registration.Resource

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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