web

package
v0.0.0-...-9dfd10e Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2019 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WServer

type WServer struct {
	// contains filtered or unexported fields
}

WServer create a default structure for all webservices

func NewWServer

func NewWServer() (server *WServer)

NewWServer constructor

func (*WServer) BindForm

func (wserver *WServer) BindForm(c *gin.Context, form interface{}) error

BindForm decode data from request body

func (*WServer) GetRootHandler

func (wserver *WServer) GetRootHandler(c *gin.Context)

GetRootHandler function

func (*WServer) PutAccountHandler

func (wserver *WServer) PutAccountHandler(c *gin.Context)

PutAccountHandler function

func (*WServer) PutCharacterHandler

func (wserver *WServer) PutCharacterHandler(c *gin.Context)

PutCharacterHandler function

func (*WServer) Setup

func (wserver *WServer) Setup()

Setup root route in this Wserver

func (*WServer) Start

func (wserver *WServer) Start()

Start this Wserver

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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