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"`
}
Click to show internal directories.
Click to hide internal directories.