caddy

package
v0.0.37 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CaddyClient

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

func NewClient

func NewClient(endpoint string) (*CaddyClient, error)

func (*CaddyClient) Register

func (client *CaddyClient) Register(register bool, configs []ConfigItem) error

type ConfigItem

type ConfigItem struct {
	Id           string          `json:"id"`
	Config       json.RawMessage `json:"config"`
	RegisterOnly bool            `json:"register_only"`
}

type ConfigSnip

type ConfigSnip struct {
	Id string `json:"@id"`
}

Jump to

Keyboard shortcuts

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