package
5.13.0+incompatible
Repository: https://github.com/documize/community.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
Package audit records user events.
No description provided by the author
Package backup handle data backup/restore to/from ZIP format.
No description provided by the author
Package category handles API calls and persistence for categories.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package onboard handles the setup of sample data for a new Documize instance.
No description provided by the author
No description provided by the author
Package permission handles API calls and persistence for spaces.
No description provided by the author
No description provided by the author
No description provided by the author
Package setting manages both global and user level settings.
Package smtp provides access to SMTP server for sending email.
Package space handles API calls and persistence for spaces.
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

DecodeSubscription returns Documize issued product licensing information.
GetRequestContext returns RequestContext from context.Context.
SubscriptionAsXML returns subscription data as XML document: <DocumizeLicense> <Key>some key</Key> <Signature>some signature</Signature> </DocumizeLicense> XML document is empty in case of error.

# Constants

CommunityEdition is AGPL licensed open core of product.
DocumizeContextKey prevents key name collisions.
EnterpriseEdition is proprietary closed-source product.
PlanCloud represents *.documize.com hosting.
PlanSelfHost represents privately hosted Documize instance.
Seats0 is 0 users.
Seats1 is 10 users.
Seats2 is 25 users.
Seats3 is 50 users.
Seats4 is 100 users.
Seats5 is 250 users.
Seats6 is unlimited.
SeatsFree is Five free users.

# Structs

Product provides product meta information and handles subscription validation for Enterprise edition.
RequestContext provides per request scoped values required for HTTP handlers.
Subscription data for customer.
SubscriptionData holds encrypted data and is unpacked into Subscription.
SubscriptionUserAccount states number of active users by tenant.
SubscriptionXML represents subscription data as XML document.

# Type aliases

Edition is either Community or Enterprise.
Package controls feature-set within edition.
Plan tells us if instance if self-hosted or Documize SaaS/Cloud.
Seats represents number of users.