service

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2023 License: AGPL-3.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigDetail

type ConfigDetail struct {
	Custom string `json:"custom"`
	nginx.NgxServer
}

func ParseTemplate

func ParseTemplate(path, name string) (c ConfigDetail, err error)

type ConfigInfoItem

type ConfigInfoItem struct {
	Name        string            `json:"name"`
	Description map[string]string `json:"description"`
	Author      string            `json:"author"`
	Filename    string            `json:"filename"`
}

func GetTemplateInfo

func GetTemplateInfo(path, name string) (configListItem ConfigInfoItem)

func GetTemplateList

func GetTemplateList(path string) (configList []ConfigInfoItem, err error)

Jump to

Keyboard shortcuts

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