router

package
v0.3.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Lock

func Lock() (err error)

Lock should use with defer f.Unlock()

func Unlock

func Unlock()

Unlock remove lock

func WriteAndReloadRouteConf

func WriteAndReloadRouteConf(ktConf *KtConf) error

func WriteKtConf

func WriteKtConf(ktConf *KtConf) error

Types

type KtConf

type KtConf struct {
	Service  string
	Ports    [][]string
	Header   string
	Versions []string
}

func ReadKtConf

func ReadKtConf() (*KtConf, error)

Jump to

Keyboard shortcuts

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