template

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(w io.Writer, file string, data Payload) error

Types

type Payload

type Payload []Route

func (Payload) Paths

func (p Payload) Paths() map[string]string

func (Payload) Services

func (p Payload) Services() map[string][]string

type Route

type Route struct {
	Path    string
	Service string
}

Jump to

Keyboard shortcuts

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