config

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	Username() string
	Password() string
	Port() int
	RootFolder() string
	SessionSecret() string
}

func New

func New() API

type Session added in v1.1.0

type Session struct {
	ViewType ViewType
}

func FromSession added in v1.1.0

func FromSession(c echo.Context) Session

func (*Session) Save added in v1.1.0

func (s *Session) Save(c echo.Context)

type ViewType added in v1.1.0

type ViewType string
const (
	ViewList ViewType = "list"
	ViewGrid ViewType = "grid"
)

Jump to

Keyboard shortcuts

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