provider

package
v0.0.0-...-ccb2cb4 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	Name              string `json:"name"`
	Enabled           bool   `json:"enabled"`
	Addr              string `json:"addr"`
	AuthEnabled       bool   `json:"authEnabled"`
	Host              string `json:"host"`
	Username          string `json:"username"`
	Password          string `json:"password"`
	WebhookEnabled    bool   `json:"webhookEnabled"`
	WebhookPluginName string `json:"webhookPluginName"`
}

func LoadFromJSON

func LoadFromJSON(data []byte) (Provider, error)

func (*Provider) ToBytes

func (p *Provider) ToBytes() []byte

Jump to

Keyboard shortcuts

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