model

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Principal

type Principal struct {
	ID          string `json:"id"`
	Username    string `json:"username"`
	Icon        string `json:"icon,omitempty"`
	CASessionID string `json:"caSessionID,omitempty"`
}

Principal defines a user.

type Session

type Session struct {
	geo.GeoEntry

	SessionID string `json:"session"`
	State     string `json:"state"`
	FIDOKeyID string `json:"keyId"`
	AAGUID    string `json:"aaguid"`
	UserID    string `json:"userId"`
	Username  string `json:"username"`
	Age       string `json:"age"`
}

Session defines data describing an a11r session.

Jump to

Keyboard shortcuts

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