server

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WrappedServer

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

WrappedServer holds the instance of the server, as well as the configuration of the server, the mocks information and the associated response of the route and its response.

func NewServer

func NewServer(mocks mock.RIM, cfg config.Server) WrappedServer

NewServer creates a new WrappedServer with the configuration and initialization of the server.

func (WrappedServer) Start

func (ws WrappedServer) Start() error

Start the fiber.App server with the routes, and shutdown system.

Jump to

Keyboard shortcuts

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