server

package
v0.0.0-...-bac1ed6 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package server implements the API backend of the bookmark application

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
}

Server struct defines the basic layout of a HTTP API server

func Create

func Create(basePath string, config config.AppConfig, version internal.VersionInfo, environment string) *Server

Create instantiates a new Server instance

func (*Server) ServeHTTP

func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP turns the server into a http.Handler

Directories

Path Synopsis
Package api implements the HTTP API of the bookmarks-application.
Package api implements the HTTP API of the bookmarks-application.

Jump to

Keyboard shortcuts

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