bulkloagen

package
v0.0.0-...-e9124de Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2023 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(data TemplateData) (*bytes.Buffer, error)

Types

type Service

type Service struct {
	chi.Router
	// contains filtered or unexported fields
}

func NewService

func NewService(cfg *config.Config) (*Service, error)

type TemplateData

type TemplateData struct {
	Site          string
	DemarcPanel   string
	DemarcPort    string
	Device        string
	RearPorts     map[int64]string
	RearPortID    int
	OurName       string
	OurNameShort  string
	OurStreet     string
	OurCity       string
	OurNocName    string
	OurNocEmail   string
	OurNocPhone   string
	Partner       string
	PartnerStreet string
	PartnerCity   string
	ExpiryDays    int

	ExampleDeviceURL string
	Version          string
}

Jump to

Keyboard shortcuts

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