nip53

package
v0.30.2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LiveEvent

type LiveEvent struct {
	Identifier          string
	Title               string
	Summary             string
	Image               string
	Status              string
	CurrentParticipants int
	TotalParticipants   int
	Streaming           []string
	Recording           []string
	Starts, Ends        time.Time
	Participants        []Participant
	Hashtags            []string
	Relays              []string
}

func ParseLiveEvent

func ParseLiveEvent(event nostr.Event) LiveEvent

func (LiveEvent) GetHost

func (liev LiveEvent) GetHost() *Participant

func (LiveEvent) ToHashtags

func (liev LiveEvent) ToHashtags() nostr.Tags

type Participant

type Participant struct {
	PubKey string
	Relay  string
	Role   string
}

Jump to

Keyboard shortcuts

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