session

package
v0.0.0-...-03efb0c Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 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 Enum

type Enum int
const (
	// Session Status
	Idle Enum = iota
	Active
	Expired

	// Member Status
	Invited
	Attending
	Declined
)

type Member

type Member struct {
	Id     MemberId
	Name   MemberName
	Status MemberStatus
}

type MemberId

type MemberId string

type MemberName

type MemberName string

type MemberStatus

type MemberStatus Enum

type Room

type Room struct {
	Id           RoomId
	Name         string
	SessionId    SessionId
	ParentRoomId RoomId
	Members      map[MemberId]Member
}

type RoomId

type RoomId string

type Session

type Session struct {
	Id        SessionId
	StartTime time.Time
	EndTime   time.Time
	Status    SessionStatus
}

type SessionId

type SessionId string

type SessionStatus

type SessionStatus Enum

Jump to

Keyboard shortcuts

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