Gote

package
v0.0.0-...-bd8c8ec Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package Gote 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