controllers

package
v0.0.0-...-bcded96 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthController

type HealthController struct {
	*goa.Controller
}

HealthController implements the health resource.

func NewHealthController

func NewHealthController(service *goa.Service) *HealthController

NewHealthController creates a health controller.

func (*HealthController) Healthcheck

func (c *HealthController) Healthcheck(ctx *app.HealthcheckHealthContext) error

Healthcheck runs the healthcheck action.

type KeysController

type KeysController struct {
	*goa.Controller
	Client github.Client
	Logger logger.Logger
}

KeysController implements the keys resource.

func NewKeysController

func NewKeysController(service *goa.Service, client github.Client) *KeysController

NewKeysController creates a keys controller.

func (*KeysController) List

func (c *KeysController) List(ctx *app.ListKeysContext) error

List runs the list action.

type User

type User struct {
	Name string         `json:"username"`
	Keys []*app.UserKey `json:"keys"`
}

User is the type for GitHub user's...

Directories

Path Synopsis
app

Jump to

Keyboard shortcuts

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