web

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OwlAuth

func OwlAuth(token string) gin.HandlerFunc

Types

type App

type App struct {
	Debug             bool
	DnsEmail          string
	DnsToken          string
	AclToken          string
	CertPathPrefix    string
	AccountPathPrefix string
	// contains filtered or unexported fields
}

func (*App) Run

func (a *App) Run()

type OwlAuthHeader

type OwlAuthHeader struct {
	Token string `header:"OhOwl-api-token"`
	Email string `header:"OhOwl-email"`
}

type TfCreateRequest

type TfCreateRequest struct {
	Domains []string `json:"domains,omitempty" binding:"required"`
}

Jump to

Keyboard shortcuts

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