api

package
v0.0.0-...-4c63195 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	// contains filtered or unexported fields
}

API ...

func New

func New(config Config) *API

New creates a new instance of the rest api

func (*API) Start

func (a *API) Start(port string)

Start starts the API

type Config

type Config struct {
	SignSecret string
	APISecret  string
}

Config ...

Jump to

Keyboard shortcuts

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