Documentation ¶
Index ¶
- Constants
- type ContainerHandler
- type Handler
- func (h *Handler) AddAlias(ctx context.Context, id, path string) error
- func (h *Handler) AddDefaultGui(ctx context.Context, id string) error
- func (h *Handler) Get(_ context.Context, id string) (lib_model.Endpoint, error)
- func (h *Handler) Init() error
- func (h *Handler) List(ctx context.Context, filter lib_model.EndpointFilter) (map[string]lib_model.Endpoint, error)
- func (h *Handler) Remove(ctx context.Context, id string, restrictStd bool) error
- func (h *Handler) RemoveAll(ctx context.Context, filter lib_model.EndpointFilter, restrictStd bool) error
- func (h *Handler) Set(ctx context.Context, eBase lib_model.EndpointBase) error
- func (h *Handler) SetList(ctx context.Context, eBaseSl []lib_model.EndpointBase) error
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 ContainerHandler ¶ added in v0.15.0
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func New ¶
func New(containerHandler ContainerHandler, confPath string, templates map[int]string) *Handler
func (*Handler) AddDefaultGui ¶ added in v0.0.2
Click to show internal directories.
Click to hide internal directories.