message

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2022 License: Unlicense Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Payload

type Payload struct {
	User      string
	Message   string
	Timestamp int64
}

Payload contain user, message, and UNIX timestamp parsed from raw message received from the IRC server

func BuildPayload

func BuildPayload(rawMessage string) *Payload

BuildPayload build `Payload`

func (*Payload) String added in v0.2.1

func (p *Payload) String() string

Jump to

Keyboard shortcuts

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