acme

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChallengeschemaChallengeSchemaResponse

type ChallengeschemaChallengeSchemaResponse []*struct {
	Id     string                 `url:"id",json:"id"`
	Name   string                 `url:"name",json:"name"` // Human readable name, falls back to id
	Schema map[string]interface{} `url:"schema",json:"schema"`
	Type   string                 `url:"type",json:"type"`
}

type Client

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

func New

func New(c HTTPClient) *Client

func (*Client) ChallengeschemaChallengeSchema

func (c *Client) ChallengeschemaChallengeSchema(ctx context.Context) (*ChallengeschemaChallengeSchemaResponse, error)

ChallengeschemaChallengeSchema Get schema of ACME challenge types.

func (*Client) GetDirectories

func (c *Client) GetDirectories(ctx context.Context) (*GetDirectoriesResponse, error)

GetDirectories Get named known ACME directory endpoints.

func (*Client) GetTos

func (c *Client) GetTos(ctx context.Context, req *GetTosRequest) (*GetTosResponse, error)

GetTos Retrieve ACME TermsOfService URL from CA.

func (*Client) Index

func (c *Client) Index(ctx context.Context) (*IndexResponse, error)

Index ACMEAccount index.

type GetDirectoriesResponse

type GetDirectoriesResponse []*struct {
	Name string `url:"name",json:"name"`
	Url  string `url:"url",json:"url"` // URL of ACME CA directory endpoint.

}

type GetTosRequest

type GetTosRequest map[string]interface{}

type GetTosResponse

type GetTosResponse *string

type HTTPClient

type HTTPClient interface {
	Do(context.Context, string, string, interface{}, interface{}) error
}

type IndexResponse

type IndexResponse []*map[string]interface{}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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