nginx_hdl

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StandardLocationTmpl = iota
	StandardRewriteTmpl
	StandardProxyPassTmpl
	DefaultGuiLocationTmpl
	DefaultGuiProxyPassTmpl
	AliasLocationTmpl
	AliasRewriteTmpl
	AliasProxyPassTmpl
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func New

func New(containerHandler handler.ContainerHandler, confPath string, templates map[int]string) *Handler

func (*Handler) AddAlias added in v0.0.2

func (h *Handler) AddAlias(ctx context.Context, id, path string) error

func (*Handler) AddDefaultGui added in v0.0.2

func (h *Handler) AddDefaultGui(ctx context.Context, id string) error

func (*Handler) Get

func (*Handler) Init

func (h *Handler) Init() error

func (*Handler) List

func (*Handler) Remove

func (h *Handler) Remove(ctx context.Context, id string, restrictStd bool) error

func (*Handler) RemoveAll

func (h *Handler) RemoveAll(ctx context.Context, filter lib_model.EndpointFilter, restrictStd bool) error

func (*Handler) Set added in v0.7.0

func (h *Handler) Set(ctx context.Context, eBase lib_model.EndpointBase) error

func (*Handler) SetList added in v0.7.0

func (h *Handler) SetList(ctx context.Context, eBaseSl []lib_model.EndpointBase) error

Jump to

Keyboard shortcuts

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