org

package
v3.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2019 License: AGPL-3.0 Imports: 4 Imported by: 5 modules, 28 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Organization

type Organization struct {
	model.BaseEntity
	Company              string `json:"company"`
	Title                string `json:"title"`
	Message              string `json:"message"`
	Domain               string `json:"domain"`
	Email                string `json:"email"`
	AllowAnonymousAccess bool   `json:"allowAnonymousAccess"`
	AuthProvider         string `json:"authProvider"`
	AuthConfig           string `json:"authConfig"`
	ConversionEndpoint   string `json:"conversionEndpoint"`
	MaxTags              int    `json:"maxTags"`
	Serial               string `json:"serial"`
	Active               bool   `json:"active"`
	Subscription         string `json:"subscription"`
	Theme                string `json:"theme"`
}

Organization defines a tenant that uses this app.

func (*Organization) StripSecrets added in v1.76.1

func (o *Organization) StripSecrets()

StripSecrets removes sensitive information.

type SiteMeta

type SiteMeta struct {
	OrgID                string         `json:"orgId"`
	Title                string         `json:"title"`
	Message              string         `json:"message"`
	URL                  string         `json:"url"`
	AllowAnonymousAccess bool           `json:"allowAnonymousAccess"`
	AuthProvider         string         `json:"authProvider"`
	AuthConfig           string         `json:"authConfig"`
	Version              string         `json:"version"`
	Revision             string         `json:"revision"`
	MaxTags              int            `json:"maxTags"`
	Edition              domain.Edition `json:"edition"`
	ConversionEndpoint   string         `json:"conversionEndpoint"`
	Storage              env.StoreType  `json:"storageProvider"`
	Location             string         `json:"location"`   // reserved for internal use
	Theme                string         `json:"theme"`      // default side-wide theme, user overrideble
	Configured           bool           `json:"configured"` // is Documize instance configured
}

SiteMeta holds information associated with an Organization.

type SitemapDocument

type SitemapDocument struct {
	DocumentID string
	Document   string
	SpaceID    string
	Folder     string
	Revised    time.Time
}

SitemapDocument details a document that can be exposed via Sitemap.

Jump to

Keyboard shortcuts

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