Documentation
¶
Index ¶
- Constants
- func CheckCaptcha(captcha string) (bool, error)
- func ConvertHashLink(domain string, link string) string
- func CreateNameTripCode(ctx *fiber.Ctx) (string, string, error)
- func GetCaptchaCode(captcha string) string
- func IsMediaBanned(f multipart.File) (bool, error)
- func ObjectFromForm(ctx *fiber.Ctx, obj activitypub.ObjectBase) (activitypub.ObjectBase, error)
- func ParseAttachment(obj activitypub.ObjectBase, catalog bool) template.HTML
- func ParseCommentForReplies(comment string, op string) ([]activitypub.ObjectBase, error)
- func ParseCommentForReply(comment string) (string, error)
- func ParseCommentQuotes(content string) string
- func ParseContent(board activitypub.Actor, op string, content string, ...) (template.HTML, error)
- func ParseLinkComments(board activitypub.Actor, op string, content string, ...) (string, error)
- func ParseLinkTitle(actorName string, op string, content string) string
- func ParseOptions(ctx *fiber.Ctx, obj activitypub.ObjectBase) activitypub.ObjectBase
- func ParseTruncate(content string, board activitypub.Actor, op string, id string) string
- func ResizeAttachmentToPreview() error
- func SupportedMIMEType(mime string) bool
- func TripCode(pass string) (string, error)
- func TripCodeConvert(str string) string
- func TripCodeSecure(pass string) (string, error)
Constants ¶
View Source
const SaltTable = "" +
"................................" +
".............../0123456789ABCDEF" +
"GABCDEFGHIJKLMNOPQRSTUVWXYZabcde" +
"fabcdefghijklmnopqrstuvwxyz....." +
"................................" +
"................................" +
"................................" +
"................................"
Variables ¶
This section is empty.
Functions ¶
func CheckCaptcha ¶
func ConvertHashLink ¶
func CreateNameTripCode ¶
func GetCaptchaCode ¶
func ObjectFromForm ¶
func ObjectFromForm(ctx *fiber.Ctx, obj activitypub.ObjectBase) (activitypub.ObjectBase, error)
func ParseAttachment ¶
func ParseAttachment(obj activitypub.ObjectBase, catalog bool) template.HTML
func ParseCommentForReplies ¶
func ParseCommentForReplies(comment string, op string) ([]activitypub.ObjectBase, error)
func ParseCommentForReply ¶
func ParseCommentQuotes ¶
func ParseContent ¶
func ParseContent(board activitypub.Actor, op string, content string, thread activitypub.ObjectBase, id string, _type string) (template.HTML, error)
func ParseLinkComments ¶
func ParseLinkComments(board activitypub.Actor, op string, content string, thread activitypub.ObjectBase) (string, error)
func ParseOptions ¶
func ParseOptions(ctx *fiber.Ctx, obj activitypub.ObjectBase) activitypub.ObjectBase
func ParseTruncate ¶
func ResizeAttachmentToPreview ¶
func ResizeAttachmentToPreview() error
func SupportedMIMEType ¶
func TripCodeConvert ¶
func TripCodeSecure ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.