Documentation ¶
Index ¶
Constants ¶
View Source
const (
V1Path = "/v1"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func New ¶
func New(options *Options, storage storage.Storage, controller *controller.Controller, logger *zerolog.Logger) *API
type Options ¶
type Options struct { Disabled bool ListenAddress string Endpoint string TLS bool DefaultNextURL string DeviceCodeEnabled bool GithubEnabled bool GithubClientID string GithubClientSecret string GoogleEnabled bool GoogleClientID string GoogleClientSecret string MagicLinkEnabled bool MagicLinkFrom string MagicLinkProjectName string MagicLinkProjectURL string PostmarkAPIToken string PostmarkTemplateID int PostmarkTag string }
Click to show internal directories.
Click to hide internal directories.