util

package
v0.0.0-...-65fe179 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sanitize

func Sanitize(raw string) (txt string)

Types

type ActivityTag

type ActivityTag struct {
	Type string `json:"type"`
	Name string `json:"name"`
}

type ActivityTags

type ActivityTags struct {
	Tag    []ActivityTag `json:"tag,omitempty"`
	Object ObjectTags    `json:"object,omitempty"`
}

ActivityTags that the activitypub library fails to deserialize

type ObjectTags

type ObjectTags struct {
	Tag []ActivityTag `json:"tag,omitempty"`
}

Jump to

Keyboard shortcuts

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