text

package
v0.0.0-...-05bc493 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Emojer

type Emojer interface {
	RegisterNode(string, requester.Node)
	GetEmoji(n requester.Node) string
}

type Emoji

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

func NewEmoji

func NewEmoji() *Emoji

func (*Emoji) GetEmoji

func (e *Emoji) GetEmoji(n requester.Node) string

func (*Emoji) RegisterNode

func (e *Emoji) RegisterNode(_ string, n requester.Node)

todo: one URL has many shortISs if node restart

type NoEmoji

type NoEmoji struct{}

func (*NoEmoji) GetEmoji

func (e *NoEmoji) GetEmoji(requester.Node) string

func (*NoEmoji) RegisterNode

func (e *NoEmoji) RegisterNode(string, requester.Node)

type Output

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

func (*Output) Print

func (o *Output) Print(results []status.Node)

Jump to

Keyboard shortcuts

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