app

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2019 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("Object not found")

ErrNotFound represents an object not found error

View Source
var InvitePlaceholder = "%invite%"

InvitePlaceholder represents the placeholder used by members to invite other users

Functions

This section is empty.

Types

type Services added in v0.3.0

type Services struct {
	Logger        log.Logger
	OAuth         oauth.Service
	Users         storage.User
	Tags          storage.Tag
	Tenants       storage.Tenant
	Notifications storage.Notification
	Posts         storage.Post
	Emailer       email.Sender
	Blobs         blob.Storage
	Billing       *billing.Client
}

Services holds reference to all Fider services

func (*Services) SetCurrentTenant added in v0.8.0

func (s *Services) SetCurrentTenant(tenant *models.Tenant)

SetCurrentTenant to current context

func (*Services) SetCurrentUser added in v0.8.0

func (s *Services) SetCurrentUser(user *models.User)

SetCurrentUser to current context

Jump to

Keyboard shortcuts

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