org

package
v2.2.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2019 License: AGPL-3.0 Imports: 4 Imported by: 0

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
}

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