web

package
v0.0.0-...-ee9e9f6 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2016 License: GPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Struct that contains the obejct used by the server

func NewServer

func NewServer(db *db.DB, urls map[string]string) (*Server, error)

Create a new GoBox server

func (*Server) ListenAndServer

func (s *Server) ListenAndServer(address string) error

This function start listening to the specified port

Directories

Path Synopsis
Created by Degiacomi Simone
Created by Degiacomi Simone

Jump to

Keyboard shortcuts

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