api

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2014 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleStatus

func HandleStatus(w http.ResponseWriter, r *http.Request)

Status Handler

Types

type Domain

type Domain struct {
	Config    conf.Configuration
	Zookeeper *zk.Conn
}

func (*Domain) All

func (d *Domain) All(w http.ResponseWriter, r *http.Request)

func (*Domain) Create

func (d *Domain) Create(w http.ResponseWriter, r *http.Request)

func (*Domain) Delete

func (d *Domain) Delete(c web.C, w http.ResponseWriter, r *http.Request)

func (*Domain) Put

func (d *Domain) Put(c web.C, w http.ResponseWriter, r *http.Request)

type DomainModel

type DomainModel struct {
	Id    string `param:"id"`
	Value string `param:"value"`
}

type State

type State struct {
	Config    configuration.Configuration
	Zookeeper *zk.Conn
}

func (State) Get

func (state State) Get(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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