core

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 17, 2017 License: MIT Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbsolutePath

func AbsolutePath(inPath string) string

Types

type Configuration

type Configuration struct {
	Name, Path string
}

func NewConfiguration

func NewConfiguration(name, path string) *Configuration

func (*Configuration) Configure

func (c *Configuration) Configure(p string) error

func (*Configuration) ReadInConfig

func (c *Configuration) ReadInConfig() error

type Route

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

func (*Route) Get

func (r *Route) Get() *echo.Echo

func (*Route) Run

func (r *Route) Run()

func (*Route) Set

func (r *Route) Set(echo *echo.Echo)

func (*Route) SetDebug

func (r *Route) SetDebug(d bool)

func (*Route) SetPort

func (r *Route) SetPort(port string)

func (*Route) Setup

func (r *Route) Setup() RouterSetup

type RouteFactory

type RouteFactory func(e Router) (Router, error)

type Router

type Router interface {
	Get() *echo.Echo
	Set(echo *echo.Echo)
}

func NewRouter

func NewRouter() Router

type RouterSetup

type RouterSetup interface {
	SetPort(port string)
	SetDebug(d bool)
	Run()
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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