api

package
Version: v1.0.1-0...-9a5a8c1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2021 License: MIT Imports: 23 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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL