calendar

package
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Calendar

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

func NewCalendar

func NewCalendar(w universe.World) *Calendar

func (*Calendar) Initialize

func (c *Calendar) Initialize(ctx types.LoggerContext) error

func (*Calendar) OnAttributeRemove

func (*Calendar) OnAttributeRemove(attributeID entry.AttributeID)

func (*Calendar) OnAttributeUpsert

func (c *Calendar) OnAttributeUpsert(attributeID entry.AttributeID, value any)

func (*Calendar) Run

func (c *Calendar) Run() error

func (*Calendar) Stop

func (*Calendar) Stop() error

type Event

type Event struct {
	ObjectID *umid.UMID `json:"objectId"`
	Title    string     `json:"title"`
	Start    time.Time  `json:"start"`
	End      time.Time  `json:"end"`
	EventID  string     `json:"eventId"`
}

Jump to

Keyboard shortcuts

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