sessions

package
v0.0.0-...-2e97daa Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Session

type Session struct {
	// contains filtered or unexported fields
}

func NewSession

func NewSession(sessionID SessionID, accountID accounts.AccountID, createdAt time.Time) (*Session, error)

func (Session) AccountID

func (s Session) AccountID() accounts.AccountID

func (Session) CreatedAt

func (s Session) CreatedAt() time.Time

func (Session) SessionID

func (s Session) SessionID() SessionID

type SessionID

type SessionID struct {
	// contains filtered or unexported fields
}

func MustNewSessionID

func MustNewSessionID(id string) SessionID

func NewSessionID

func NewSessionID(id string) (SessionID, error)

func (SessionID) String

func (i SessionID) String() string

Jump to

Keyboard shortcuts

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