Documentation ¶
Index ¶
- Constants
- Variables
- func Initialize(configuration IConfiguration, logger ILogger) error
- func NewAccessControl(id int64, key uint64, value uint64) (IAccessControl, error)
- func NewAccessControlFromEntity(entity IAccessControlEntity) (IAccessControl, error)
- func NewAccessControls() IAccessControlCollection
- func NewActivityPubActivities() IActivityPubActivityCollection
- func NewActivityPubActivity() (IActivityPubActivity, error)
- func NewActivityPubFollower(id int64, handle string, inbox string, subject string, activity string, ...) (IActivityPubFollower, error)
- func NewActivityPubFollowerFromEntity(entity IActivityPubFollowerEntity) (IActivityPubFollower, error)
- func NewActivityPubFollowers() IActivityPubFollowerCollection
- func NewActivityPubIncomingActivities() IActivityPubIncomingActivityCollection
- func NewActivityPubIncomingActivity(id int64, identityId int64, uniqueIdentifier string, timestamp int64, ...) (IActivityPubIncomingActivity, error)
- func NewActivityPubIncomingActivityFromEntity(entity IActivityPubIncomingActivityEntity) (IActivityPubIncomingActivity, error)
- func NewActivityPubLink() (IActivityPubLink, error)
- func NewActivityPubLinks() IActivityPubLinkCollection
- func NewActivityPubMedia() (IActivityPubMedia, error)
- func NewActivityPubMedias() IActivityPubMediaCollection
- func NewActivityPubObject() (IActivityPubObject, error)
- func NewActivityPubObjects() IActivityPubObjectCollection
- func NewActivityPubOutgoingActivities() IActivityPubOutgoingActivityCollection
- func NewActivityPubOutgoingActivity(id int64, identityId int64, uniqueIdentifier string, timestamp int64, ...) (IActivityPubOutgoingActivity, error)
- func NewActivityPubOutgoingActivityFromEntity(entity IActivityPubOutgoingActivityEntity) (IActivityPubOutgoingActivity, error)
- func NewActivityPubPublicKey() (IActivityPubPublicKey, error)
- func NewActivityPubPublicKeys() IActivityPubPublicKeyCollection
- func NewAnonymousIdentity(token, remoteAddress string, userAgent string) IIdentity
- func NewApi(endpoint string, logger ILogger) IApi
- func NewAuthorizeInteractionResult(uri string, success bool, _ interface{}) IAuthorizeInteractionResult
- func NewCategories() ICategoryCollection
- func NewCategory(id int64, categoryTypeId int64, categoryId int64, title string, ...) (ICategory, error)
- func NewCategoryFromEntity(entity ICategoryEntity) (ICategory, error)
- func NewCategoryType(id int64, description string) (ICategoryType, error)
- func NewCategoryTypeFromEntity(entity ICategoryTypeEntity) (ICategoryType, error)
- func NewCategoryTypes() ICategoryTypeCollection
- func NewChangePasswordResult(_ interface{}) IChangePasswordResult
- func NewCheckUsernameAvailabilityResult(isAvailable bool, _ interface{}) ICheckUsernameAvailabilityResult
- func NewDispatcher(conductor IConductor, identity Identity) IDispatcher
- func NewDocument(id int64, content string) (IDocument, error)
- func NewDocumentFromEntity(entity IDocumentEntity) (IDocument, error)
- func NewDocuments() IDocumentCollection
- func NewEchoResult(document IDocument, _ interface{}) IEchoResult
- func NewFollowActorResult(_ interface{}) IFollowActorResult
- func NewGetActorResult(context []string, id string, followers string, following string, inbox string, ...) IGetActorResult
- func NewGetFollowersResult(context string, id string, type_ string, totalItems int32, ...) IGetFollowersResult
- func NewGetFollowingResult(context string, id string, type_ string, totalItems int32, ...) IGetFollowingResult
- func NewGetInboxResult(context string, id string, type_ string, totalItems int32, ...) IGetInboxResult
- func NewGetOutboxResult(context string, id string, type_ string, totalItems int32, ...) IGetOutboxResult
- func NewGetPackagesResult(body []byte, _ interface{}) IGetPackagesResult
- func NewGetProfileByUserResult(username string, displayName string, avatar string, banner string, ...) IGetProfileByUserResult
- func NewGetServerConfigurationResult(product string, environment string, fqdn string, _ interface{}) IGetServerConfigurationResult
- func NewIdentities() IIdentityCollection
- func NewIdentity(id int64, username string, phoneNumber string, phoneNumberConfirmed bool, ...) (IIdentity, error)
- func NewIdentityFromEntity(entity IIdentityEntity) (IIdentity, error)
- func NewLoginResult(username string, token string, _ interface{}) ILoginResult
- func NewLogoutResult(_ interface{}) ILogoutResult
- func NewPostToInboxResult(body []byte, _ interface{}) IPostToInboxResult
- func NewPostToOutboxResult(body []byte, _ interface{}) IPostToOutboxResult
- func NewRemoteActivities() IRemoteActivityCollection
- func NewRemoteActivity(id int64, entryPoint string, duration int64, successful bool, ...) (IRemoteActivity, error)
- func NewRemoteActivityFromEntity(entity IRemoteActivityEntity) (IRemoteActivity, error)
- func NewResendVerificationCodeResult(code string, _ interface{}) IResendVerificationCodeResult
- func NewResetPasswordResult(_ interface{}) IResetPasswordResult
- func NewSignupResult(token string, code string, _ interface{}) ISignupResult
- func NewSpi() (ISpi, error)
- func NewSpis() ISpiCollection
- func NewSystemIdentity() IIdentity
- func NewSystemSchedule(id int64, enabled bool, config string) (ISystemSchedule, error)
- func NewSystemScheduleFromEntity(entity ISystemScheduleEntity) (ISystemSchedule, error)
- func NewSystemSchedules() ISystemScheduleCollection
- func NewUpdateProfileByUserResult(displayName string, avatar string, banner string, summary string, ...) IUpdateProfileByUserResult
- func NewUser(id int64, github string) (IUser, error)
- func NewUserFromEntity(entity IUserEntity) (IUser, error)
- func NewUsers() IUserCollection
- func NewVerifyResult(token string, _ interface{}) IVerifyResult
- func NewWebfingerResult(aliases []string, links []IActivityPubLink, subject string, _ interface{}) IWebfingerResult
Constants ¶
const ACCESS_CONTROL_MANAGER = "AccessControlManager"
noinspection GoSnakeCaseUsage
const ACTIVITY_PUB_ACTIVITY_MANAGER = "ActivityPubActivityManager"
noinspection GoSnakeCaseUsage
const ACTIVITY_PUB_FOLLOWER_MANAGER = "ActivityPubFollowerManager"
noinspection GoSnakeCaseUsage
const ACTIVITY_PUB_INCOMING_ACTIVITY_MANAGER = "ActivityPubIncomingActivityManager"
noinspection GoSnakeCaseUsage
const ACTIVITY_PUB_LINK_MANAGER = "ActivityPubLinkManager"
noinspection GoSnakeCaseUsage
const ACTIVITY_PUB_MEDIA_MANAGER = "ActivityPubMediaManager"
noinspection GoSnakeCaseUsage
const ACTIVITY_PUB_OBJECT_MANAGER = "ActivityPubObjectManager"
noinspection GoSnakeCaseUsage
const ACTIVITY_PUB_OUTGOING_ACTIVITY_MANAGER = "ActivityPubOutgoingActivityManager"
noinspection GoSnakeCaseUsage
const ACTIVITY_PUB_PUBLIC_KEY_MANAGER = "ActivityPubPublicKeyManager"
noinspection GoSnakeCaseUsage
const CATEGORY_MANAGER = "CategoryManager"
noinspection GoSnakeCaseUsage
const CATEGORY_TYPE_MANAGER = "CategoryTypeManager"
noinspection GoSnakeCaseUsage
const DOCUMENT_MANAGER = "DocumentManager"
noinspection GoSnakeCaseUsage
const IDENTITY_MANAGER = "IdentityManager"
noinspection GoSnakeCaseUsage
const REMOTE_ACTIVITY_MANAGER = "RemoteActivityManager"
noinspection GoSnakeCaseUsage
const SPI_MANAGER = "SpiManager"
noinspection GoSnakeCaseUsage
const SYSTEM_SCHEDULE_MANAGER = "SystemScheduleManager"
noinspection GoSnakeCaseUsage
const USER_MANAGER = "UserManager"
noinspection GoSnakeCaseUsage
Variables ¶
var ( // @formatter:off Conductor IConductor Dockerized = runningInContainer == "true" )
var API_RESULT = make(map[uint64]Pointer)
noinspection GoSnakeCaseUsage
Functions ¶
func Initialize ¶
func Initialize(configuration IConfiguration, logger ILogger) error
func NewAccessControl ¶
func NewAccessControlFromEntity ¶
func NewAccessControlFromEntity(entity IAccessControlEntity) (IAccessControl, error)
func NewAccessControls ¶
func NewAccessControls() IAccessControlCollection
NewAccessControls creates an empty collection of 'Access Control' which is not thread-safe.
func NewActivityPubActivities ¶
func NewActivityPubActivities() IActivityPubActivityCollection
NewActivityPubActivities creates an empty collection of 'Activity Pub Activity' which is not thread-safe.
func NewActivityPubActivity ¶
func NewActivityPubActivity() (IActivityPubActivity, error)
func NewActivityPubFollower ¶
func NewActivityPubFollowerFromEntity ¶
func NewActivityPubFollowerFromEntity(entity IActivityPubFollowerEntity) (IActivityPubFollower, error)
func NewActivityPubFollowers ¶
func NewActivityPubFollowers() IActivityPubFollowerCollection
NewActivityPubFollowers creates an empty collection of 'Activity Pub Follower' which is not thread-safe.
func NewActivityPubIncomingActivities ¶
func NewActivityPubIncomingActivities() IActivityPubIncomingActivityCollection
NewActivityPubIncomingActivities creates an empty collection of 'Activity Pub Incoming Activity' which is not thread-safe.
func NewActivityPubIncomingActivityFromEntity ¶
func NewActivityPubIncomingActivityFromEntity(entity IActivityPubIncomingActivityEntity) (IActivityPubIncomingActivity, error)
func NewActivityPubLink ¶
func NewActivityPubLink() (IActivityPubLink, error)
func NewActivityPubLinks ¶
func NewActivityPubLinks() IActivityPubLinkCollection
NewActivityPubLinks creates an empty collection of 'Activity Pub Link' which is not thread-safe.
func NewActivityPubMedia ¶
func NewActivityPubMedia() (IActivityPubMedia, error)
func NewActivityPubMedias ¶
func NewActivityPubMedias() IActivityPubMediaCollection
NewActivityPubMedias creates an empty collection of 'Activity Pub Media' which is not thread-safe.
func NewActivityPubObject ¶
func NewActivityPubObject() (IActivityPubObject, error)
func NewActivityPubObjects ¶
func NewActivityPubObjects() IActivityPubObjectCollection
NewActivityPubObjects creates an empty collection of 'Activity Pub Object' which is not thread-safe.
func NewActivityPubOutgoingActivities ¶
func NewActivityPubOutgoingActivities() IActivityPubOutgoingActivityCollection
NewActivityPubOutgoingActivities creates an empty collection of 'Activity Pub Outgoing Activity' which is not thread-safe.
func NewActivityPubOutgoingActivityFromEntity ¶
func NewActivityPubOutgoingActivityFromEntity(entity IActivityPubOutgoingActivityEntity) (IActivityPubOutgoingActivity, error)
func NewActivityPubPublicKey ¶
func NewActivityPubPublicKey() (IActivityPubPublicKey, error)
func NewActivityPubPublicKeys ¶
func NewActivityPubPublicKeys() IActivityPubPublicKeyCollection
NewActivityPubPublicKeys creates an empty collection of 'Activity Pub Public Key' which is not thread-safe.
func NewAnonymousIdentity ¶
func NewCategories ¶
func NewCategories() ICategoryCollection
NewCategories creates an empty collection of 'Category' which is not thread-safe.
func NewCategory ¶
func NewCategoryFromEntity ¶
func NewCategoryFromEntity(entity ICategoryEntity) (ICategory, error)
func NewCategoryType ¶
func NewCategoryTypeFromEntity ¶
func NewCategoryTypeFromEntity(entity ICategoryTypeEntity) (ICategoryType, error)
func NewCategoryTypes ¶
func NewCategoryTypes() ICategoryTypeCollection
NewCategoryTypes creates an empty collection of 'Category Type' which is not thread-safe.
func NewChangePasswordResult ¶
func NewChangePasswordResult(_ interface{}) IChangePasswordResult
func NewCheckUsernameAvailabilityResult ¶
func NewCheckUsernameAvailabilityResult(isAvailable bool, _ interface{}) ICheckUsernameAvailabilityResult
func NewDispatcher ¶
func NewDispatcher(conductor IConductor, identity Identity) IDispatcher
func NewDocument ¶
func NewDocumentFromEntity ¶
func NewDocumentFromEntity(entity IDocumentEntity) (IDocument, error)
func NewDocuments ¶
func NewDocuments() IDocumentCollection
NewDocuments creates an empty collection of 'Document' which is not thread-safe.
func NewEchoResult ¶
func NewEchoResult(document IDocument, _ interface{}) IEchoResult
func NewFollowActorResult ¶
func NewFollowActorResult(_ interface{}) IFollowActorResult
func NewGetActorResult ¶
func NewGetActorResult(context []string, id string, followers string, following string, inbox string, outbox string, name string, preferredUsername string, type_ string, url string, icon IActivityPubMedia, image IActivityPubMedia, publicKey IActivityPubPublicKey, summary string, published string, _ interface{}) IGetActorResult
func NewGetFollowersResult ¶
func NewGetFollowingResult ¶
func NewGetInboxResult ¶
func NewGetOutboxResult ¶
func NewGetPackagesResult ¶
func NewGetPackagesResult(body []byte, _ interface{}) IGetPackagesResult
func NewIdentities ¶
func NewIdentities() IIdentityCollection
NewIdentities creates an empty collection of 'Identity' which is not thread-safe.
func NewIdentity ¶
func NewIdentity(id int64, username string, phoneNumber string, phoneNumberConfirmed bool, firstName string, lastName string, displayName string, email string, emailConfirmed bool, avatar string, banner string, summary string, token string, multiFactor bool, hash string, salt string, publicKey string, privateKey string, permission uint64, restriction uint32, lastLogin int64, loginCount uint32) (IIdentity, error)
func NewIdentityFromEntity ¶
func NewIdentityFromEntity(entity IIdentityEntity) (IIdentity, error)
func NewLoginResult ¶
func NewLogoutResult ¶
func NewLogoutResult(_ interface{}) ILogoutResult
func NewPostToInboxResult ¶
func NewPostToInboxResult(body []byte, _ interface{}) IPostToInboxResult
func NewPostToOutboxResult ¶
func NewPostToOutboxResult(body []byte, _ interface{}) IPostToOutboxResult
func NewRemoteActivities ¶
func NewRemoteActivities() IRemoteActivityCollection
NewRemoteActivities creates an empty collection of 'Remote Activity' which is not thread-safe.
func NewRemoteActivity ¶
func NewRemoteActivityFromEntity ¶
func NewRemoteActivityFromEntity(entity IRemoteActivityEntity) (IRemoteActivity, error)
func NewResendVerificationCodeResult ¶
func NewResendVerificationCodeResult(code string, _ interface{}) IResendVerificationCodeResult
func NewResetPasswordResult ¶
func NewResetPasswordResult(_ interface{}) IResetPasswordResult
func NewSignupResult ¶
func NewSpis ¶
func NewSpis() ISpiCollection
NewSpis creates an empty collection of 'Spi' which is not thread-safe.
func NewSystemIdentity ¶
func NewSystemIdentity() IIdentity
func NewSystemSchedule ¶
func NewSystemScheduleFromEntity ¶
func NewSystemScheduleFromEntity(entity ISystemScheduleEntity) (ISystemSchedule, error)
func NewSystemSchedules ¶
func NewSystemSchedules() ISystemScheduleCollection
NewSystemSchedules creates an empty collection of 'System Schedule' which is not thread-safe.
func NewUserFromEntity ¶
func NewUserFromEntity(entity IUserEntity) (IUser, error)
func NewUsers ¶
func NewUsers() IUserCollection
NewUsers creates an empty collection of 'User' which is not thread-safe.
func NewVerifyResult ¶
func NewVerifyResult(token string, _ interface{}) IVerifyResult
func NewWebfingerResult ¶
Types ¶
This section is empty.
Source Files ¶
- access_control.go
- access_control_manager.go
- activity_pub_activity.go
- activity_pub_activity_manager.go
- activity_pub_follower.go
- activity_pub_follower_manager.go
- activity_pub_incoming_activity.go
- activity_pub_incoming_activity_manager.go
- activity_pub_link.go
- activity_pub_link_manager.go
- activity_pub_media.go
- activity_pub_media_manager.go
- activity_pub_object.go
- activity_pub_object_manager.go
- activity_pub_outgoing_activity.go
- activity_pub_outgoing_activity_manager.go
- activity_pub_public_key.go
- activity_pub_public_key_manager.go
- api_client.go
- api_methods.go
- category.go
- category_manager.go
- category_type.go
- category_type_manager.go
- collections.go
- document.go
- document_manager.go
- factory.go
- identity.go
- identity_manager.go
- initializer.go
- object.go
- remote_activity.go
- remote_activity_manager.go
- spi.go
- spi_manager.go
- system_component.go
- system_dispatcher.go
- system_dispatcher_cache.go
- system_results.go
- system_schedule.go
- system_schedule_manager.go
- user.go
- user_manager.go