api

package
v0.0.0-...-c63b79d Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitApi

func InitApi() *httprouter.Router

Init all routes here

func InitBucket

func InitBucket(router *httprouter.Router)

func InitFile

func InitFile(router *httprouter.Router)

func InitServer

func InitServer()

func StartServer

func StartServer()

func StopServer

func StopServer()

Types

type Server

type Server struct {
	Router         *httprouter.Router
	StorageService *service.StorageService
}
var ServerObj *Server

Jump to

Keyboard shortcuts

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