endpoint

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2016 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const SecretQueryParameter = "secret"

Variables

This section is empty.

Functions

This section is empty.

Types

type Activity

type Activity struct {
	Changes []*Change `json:"changes"`
	Project struct {
		Id int `json:"id"`
	} `json:"project"`
}

type Change

type Change struct {
	ResourceKind string `json:"kind"`
	ResourceID   int    `json:"id"`
	NewValues    Values `json:"new_values"`
}

type Endpoint

type Endpoint struct{}

func NewEndpoint

func NewEndpoint() *Endpoint

func (*Endpoint) ModuleId

func (ep *Endpoint) ModuleId() string

func (*Endpoint) NewHandler

func (ep *Endpoint) NewHandler() (http.Handler, error)

type Values

type Values struct {
	State string `json:"current_state"`
}

Jump to

Keyboard shortcuts

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