server

package
v0.0.0-...-2dd8f19 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2017 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultTimeout = "5"
View Source
var (
	ErrConvertTimeout = errors.New("Can not convert timeout value")
)

Functions

This section is empty.

Types

type ApiServer

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

func NewApi

func NewApi(port string) *ApiServer

func (*ApiServer) NewBattleInfo

func (api *ApiServer) NewBattleInfo(battleInfo *bike.BattleInfo) error

func (*ApiServer) Start

func (api *ApiServer) Start() error

Jump to

Keyboard shortcuts

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