nip53

package
v0.36.3 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: MIT Imports: 3 Imported by: 1

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