api

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package api holds some HTTP API functions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Listen  string
	NtpDial string
	// contains filtered or unexported fields
}

Server contains enough to start a listening server

func (*Server) Serve

func (s *Server) Serve() error

Serve will start the instance using the provided parameters

Jump to

Keyboard shortcuts

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