server

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2019 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

func Serve

func Serve()

Types

type Claims

type Claims struct {
	Email string `json:"email"`
}

type FedResp

type FedResp struct {
	SigninToken string
}

type Role

type Role struct {
	Value string `json:"value"`
}

type Schema

type Schema struct {
	Roles []Role `json:"role"`
}

type State

type State struct {
	RolesByAccount templates.RolesByAccount
	IDToken        string
	CSRFToken      string
	Email          string
	Duration       int64
}

Jump to

Keyboard shortcuts

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