server

package
v0.0.0-...-0e08e9b Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package server has the implementation for the article request handlers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArticleService

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

func New

New returns a new HTTP Server for article service

func (*ArticleService) Router

func (as *ArticleService) Router() *mux.Router

Router will handle the routing for the article service

func (*ArticleService) ServeHTTP

func (as *ArticleService) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP helps to implement the ListenAndServe interface

Jump to

Keyboard shortcuts

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