Dingo

package
v0.0.0-...-6a7966f Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2018 License: MIT Imports: 5 Imported by: 5

Documentation

Overview

Package Dingo is the main entry point to your application.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(dbPath, privKey, pubKey string)

Init loads a public and private key pair used to create and validate JSON web tokens, or creates a new pair if they don't exist. It also initializes the database connection.

func Run

func Run(portNumber string)

Run starts our HTTP server on the given port.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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