community: github.com/documize/community/domain/onboard Index | Files

package onboard

import "github.com/documize/community/domain/onboard"

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

Package Files

endpoint.go store.go

type Handler Uses

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 Uses

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

InstallSample inserts sample data into database.

type Store Uses

type Store struct {
    store.Context
}

Store provides data access to version information.

func (Store) ContentCounts Uses

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

ContentCounts returns the number of spaces and documents.

Package onboard imports 14 packages (graph) and is imported by 2 packages. Updated 2019-08-26. Refresh now. Tools for package owners.