model

package
v0.0.0-...-b743e6f Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const AcctSep = "@"
View Source
const GroupIdDefault = "default"
View Source
const KeyGroupId = "x-awakari-group-id"
View Source
const NsAs = "https://www.w3.org/ns/activitystreams"
View Source
const UserIdDefault = "int-activitypub"
View Source
const WebFingerFmtUrl = "https://%s/.well-known/webfinger?" +
	WebFingerKeyResource + "=" + WebFingerPrefixAcct + "%s@%s"
View Source
const WebFingerKeyResource = "resource"
View Source
const WebFingerPrefixAcct = "acct:"

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter struct {
	GroupId string
	UserId  string
	Pattern string
	SubId   string
}

type Order

type Order int
const (
	OrderAsc Order = iota
	OrderDesc
)

func (Order) String

func (o Order) String() string

type Source

type Source struct {
	ActorId  string
	GroupId  string
	UserId   string
	Type     string
	Name     string
	Summary  string
	Accepted bool
	Rejected bool
	Last     time.Time
	Created  time.Time
	SubId    string
	Term     string
	Err      string
}

Jump to

Keyboard shortcuts

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