platform

package
v0.0.0-...-7b1381d Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2020 License: MIT Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(config *Config) error

Run runs the application, connecting to the database at dbURL and listening for HTTP at the provided address.

Types

type Claims

type Claims struct {
	jwt.StandardClaims
}

func (*Claims) Valid

func (c *Claims) Valid() error

type Config

type Config struct {
	Debug                                        bool
	DBURL, Addr, GRPCAddr, StaticDir, SigningKey string
	TokenLength                                  time.Duration
	Slack                                        slack.Config
}

Jump to

Keyboard shortcuts

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