entity

package
v0.0.0-...-5b3434c Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GroupNameKey = "GroupName"
	UserIDKey    = "UserID"
	UserNameKey  = "UserName"
)

Variables

View Source
var (
	ErrUnauthenticated = errors.New("not authenticated")
)

Functions

This section is empty.

Types

type Group

type Group struct {
	ID      string
	GroupID string
	Name    string
}

Group type

type HealthCheckStatus

type HealthCheckStatus struct {
	Status string
}

HealthCheckStatus HEalthCheckのEntity

type Session

type Session struct {
	ID     SessionID
	Values Store
}

type SessionID

type SessionID string

type SigninData

type SigninData struct {
	GroupName string
	UserID    string
	UserName  string
}

type Store

type Store map[string]string

type User

type User struct {
	ID       string
	GroupID  string
	LoginID  string
	Password string
	Name     string
}

User User type

Jump to

Keyboard shortcuts

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