httplib

package
v0.0.0-...-705e2cb Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2018 License: Apache-2.0 Imports: 7 Imported by: 2

README

This wrapps the http library for Redis Framework currently using beego framework

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(config string)

Run main function that starts the HTTP server

Types

type InputData

type InputData struct {
	Distribution int //Distribution Value
}

type MainController

type MainController struct {
	beego.Controller
}

MainController of the HTTP server

func (*MainController) CreateInstance

func (this *MainController) CreateInstance()

CreateInstance Handles a Create Instance

func (*MainController) DeleteInstance

func (this *MainController) DeleteInstance()

DeleteInstance handles a delete instance REST call

func (*MainController) Get

func (this *MainController) Get()

Get Handles a general Get

func (*MainController) Status

func (this *MainController) Status()

Status handles a STATUS REST call

func (*MainController) StatusAll

func (this *MainController) StatusAll()

StatusAll handles StatusAll REST call

func (*MainController) UpdateMemory

func (this *MainController) UpdateMemory()

UpdateMemory Not yet implemented

func (*MainController) UpdateSlaves

func (this *MainController) UpdateSlaves()

UpdateSlaves Not yet implemented

Jump to

Keyboard shortcuts

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