poster

package
v0.0.0-...-5f6421e Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 License: ISC Imports: 0 Imported by: 0

Documentation

Overview

Package poster provides interfaces for various posters

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	Title    string
	Body     string
	Author   string
	FileName string
}

Message defines the message being posted as well as it's metadata

type Poster

type Poster interface {

	// Post takes a Message, and posts it somewhere
	Post(Message) error
}

Poster can take a Message and post it somewhere

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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