api

package
v0.0.0-...-c791c95 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package api implements a RESTful API to interface with the application.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRouter

func GetRouter() http.Handler

GetRouter sets up and handles the routes.

func Serve

func Serve()

Serve listens for and serves requests.

func ValidateRefreshTokenMiddleware

func ValidateRefreshTokenMiddleware() gin.HandlerFunc

ValidateRefreshTokenMiddleware checks to see if the refresh token is valid before accessing private resources.

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