gopherhelpers

package
v0.0.0-...-9d78cc5 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: MIT Imports: 4 Imported by: 7

Documentation

Index

Constants

View Source
const MaxLine = 70

Variables

This section is empty.

Functions

func ConvertHTMLToText

func ConvertHTMLToText(htmlContent string) (string, error)

ConvertHTMLToText converts HTML content to plain text

func CreateEventHeader

func CreateEventHeader(title string) string

func CreateGopherEntry

func CreateGopherEntry(selectortype gopher.ItemType, Name string, selector string, host string, port int) string

func CreateGopherInfo

func CreateGopherInfo(Heading string) string

func CreateGopherURL

func CreateGopherURL(Name string, URL string, Server string, Port int) string

func CreateMaxLine

func CreateMaxLine(line string) string

func FillLine

func FillLine(line string, length int) string

func FillLineWithChar

func FillLineWithChar(line string, length int, char string) string

func FormatForGopherMap

func FormatForGopherMap(indent int, header string, content string) string

func FormatInfo

func FormatInfo(indent int, header string, content string) string

func FormatInfoForGophermap

func FormatInfoForGophermap(indent int, header string, content string) string

func SplitRequest

func SplitRequest(request string) ([]string, []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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