api

package
v0.0.0-...-9cf5684 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package api provides rest-like server

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Version string
	Conf    proc.Conf
	Store   *proc.BoltDB
	// contains filtered or unexported fields
}

Server provides HTTP API

func (*Server) Run

func (s *Server) Run(port int)

Run starts http server for API with all routes

Jump to

Keyboard shortcuts

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