server

package
v0.0.0-...-748f5db Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2017 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *gin.Engine

New creates a new server.

Types

type FakeServer

type FakeServer struct {
	Server       *gin.Engine
	TokenManager token.Manager
	Storage      *storage.FakeStorage
}

FakeServer exports all fields which can be necessary for tests.

func NewFakeServer

func NewFakeServer() *FakeServer

NewFakeServer creates a new fake server.

Jump to

Keyboard shortcuts

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