pivotaltracker

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2015 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const SecretQueryParameter = "secret"

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(options ...OptionFunc) http.Handler

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 Handler

type Handler struct {
	// Embedded http.Handler
	http.Handler
	// contains filtered or unexported fields
}

type OptionFunc

type OptionFunc func(handler *Handler)

func SetSecret

func SetSecret(secret string) OptionFunc

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