guard

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

type Base struct {
	Path     string
	Prefix   string
	FullPath string
	Error    error
}

type FilesParam

type FilesParam struct {
	*Base
}

func GetViewParam

func GetViewParam(ctx *context.Context) *FilesParam

type Guardian

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

func New

func New(r *root.Roots, c db.Connection, p string) *Guardian

func (*Guardian) GetPrefix

func (g *Guardian) GetPrefix(ctx *context.Context) string

func (*Guardian) Update

func (g *Guardian) Update(root *root.Roots)

func (*Guardian) View

func (g *Guardian) View(ctx *context.Context)

Jump to

Keyboard shortcuts

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