banner

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2021 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Default = `` /* 177-byte string literal not displayed */

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

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

func NewBuilder

func NewBuilder(config *Config) (*Builder, error)

func (*Builder) Make

func (b *Builder) Make(mailboxID string) (string, error)

type Config

type Config struct {
	// The public URI to use with redirection links
	URL string

	// The template to use for banners
	Template string
}

func (*Config) Validate

func (c *Config) Validate() error

Jump to

Keyboard shortcuts

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