templates

package
v0.0.0-...-e51f79e Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const HandlerMethods = `` /* 295-byte string literal not displayed */
View Source
const Handlers = `` /* 598-byte string literal not displayed */
View Source
const Hook = `
package handlers

import (
	"fmt"
	"{{.ImportPath -}} /svc"
	"os"
	"os/signal"
	"syscall"
)

`
View Source
const HookInterruptHandler = `` /* 245-byte string literal not displayed */
View Source
const HookSetConfig = `
func SetConfig(cfg svc.Config) svc.Config {
	return cfg
}
`
View Source
const Middlewares = `` /* 1389-byte string literal not displayed */

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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