contact

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddContact

func AddContact(irc *ircbot.IrcBot)

Types

type Contact

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

func GetContact

func GetContact(db *sql.DB, name string) (*Contact, error)

Get a contact from the db

func (*Contact) PrettyPrint

func (ct *Contact) PrettyPrint() string

func (*Contact) Remove

func (ct *Contact) Remove(db *sql.DB) error

func (*Contact) Save

func (ct *Contact) Save(db *sql.DB) error

Jump to

Keyboard shortcuts

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