Back to godoc.org

Package metrics

v0.0.0-...-38dcb39
Latest Go to latest

The latest major version is .

Published: Sep 16, 2020 | License: BSD-3-Clause | Module: bitbucket.org/airenas/listgo

Index

func Execute

func Execute()

Execute starts the server

func NewRouter

func NewRouter(data *ServiceData) *mux.Router

NewRouter creates the router for HTTP service

func StartWebServer

func StartWebServer(data *ServiceData) error

StartWebServer starts the HTTP service and listens for the requests

type ServiceData

type ServiceData struct {
	Port int
	// contains filtered or unexported fields
}

ServiceData keeps data required for service work

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier