httpservice

package
v0.0.0-...-59a64bd Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(name, version string, port int, fn func(*Service) error) int

Run AFAIRE

Types

type Service

type Service struct {
	*service.Service
	*http.Server
	// contains filtered or unexported fields
}

Service AFAIRE

func (*Service) GetRouter

func (svc *Service) GetRouter() *mux.Router

GetRouter AFAIRE

Jump to

Keyboard shortcuts

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