onboard

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: 14 Imported by: 0

Documentation

Overview

Package onboard handles the setup of sample data for a new Documize instance.

Package onboard handles the setup of sample data for a new Documize instance.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Runtime  *env.Runtime
	Store    *store.Store
	Indexer  indexer.Indexer
	MappedID map[string]string
}

Handler contains the runtime information such as logging and database.

func (*Handler) InstallSample

func (h *Handler) InstallSample(w http.ResponseWriter, r *http.Request)

InstallSample inserts sample data into database.

type Store

type Store struct {
	store.Context
}

Store provides data access to version information.

func (Store) ContentCounts

func (s Store) ContentCounts(orgID string) (spaces, docs int)

ContentCounts returns the number of spaces and documents.

Jump to

Keyboard shortcuts

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