server

package
v0.0.0-...-097a723 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2016 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InputData

type InputData map[string]interface{}

func (InputData) Int64

func (t InputData) Int64(key string) int64

func (InputData) String

func (t InputData) String(key string) string

type Server

type Server struct {
	DB *sqlx.DB
	// contains filtered or unexported fields
}

func New

func New(driver, driverName string) (*Server, error)

func (*Server) HandlerFunc

func (s *Server) HandlerFunc(schemas *client.Schemas, f func(http.ResponseWriter, *http.Request) error) http.HandlerFunc

func (*Server) ServiceByID

func (s *Server) ServiceByID(rw http.ResponseWriter, r *http.Request) error

func (*Server) ServiceCreate

func (s *Server) ServiceCreate(rw http.ResponseWriter, r *http.Request) error

func (*Server) ServiceList

func (s *Server) ServiceList(rw http.ResponseWriter, r *http.Request) error

func (*Server) StackList

func (s *Server) StackList(rw http.ResponseWriter, r *http.Request) error

Jump to

Keyboard shortcuts

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