controllers

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultController

type DefaultController struct {
	Sev       *services.DefaultService
	SingleCom *components.SingleComponent
	Defcom    *components.DefaultComponent
	Runtime   freedom.Runtime
}

func (*DefaultController) Get

func (c *DefaultController) Get() (string, error)

Get handles the GET: / route.

func (*DefaultController) GetCom

func (c *DefaultController) GetCom() (string, error)

GetCom handles the GET: /com route.

Jump to

Keyboard shortcuts

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