tfstated/pkg/model/session.go

20 lines
254 B
Go

package model
import (
"time"
)
type SessionContextKey struct{}
type Session struct {
Id string
AccountId string
Created time.Time
Updated time.Time
Data any
}
func (session *Session) IsExpired() bool {
// TODO
return false
}