session

package
v1.33.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 License: BSD-2-Clause Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Session

type Session struct {
	ID        string    `json:"-" bson:"_id"`
	IsServer  bool      `json:"isServer" bson:"isServer"`
	ServerID  string    `json:"-" bson:"serverId,omitempty"`
	UserID    string    `json:"userId,omitempty" bson:"userId,omitempty"`
	Duration  int64     `json:"-" bson:"duration"`
	ExpiresAt time.Time `json:"-" bson:"expiresAt"`
	CreatedAt time.Time `json:"-" bson:"createdAt"`
	Time      time.Time `json:"-" bson:"time"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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