drawer

package
v0.0.0-...-3abf187 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Drawer

type Drawer struct {
	P Participants
	// contains filtered or unexported fields
}

func NewDrawer

func NewDrawer(p Participants, s Sender, t int, dr bool) Drawer

func (*Drawer) Draw

func (d *Drawer) Draw()

func (*Drawer) Send

func (d *Drawer) Send()

func (*Drawer) String

func (d *Drawer) String() string

type Participant

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

func NewParticipant

func NewParticipant(name, mail, tip string) *Participant

func (*Participant) SetBlacklist

func (p *Participant) SetBlacklist(s Participants)

func (*Participant) String

func (p *Participant) String() string

type Participants

type Participants []*Participant

type Sender

type Sender interface {
	Send(to []string, msg []byte) error
	PrepareMessage(who, whom, tip string) string
}

Jump to

Keyboard shortcuts

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