app

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2018 License: GPL-3.0 Imports: 9 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

func NewEmailer added in v0.10.0

func NewEmailer(logger log.Logger) email.Sender

NewEmailer creates a new emailer based on system configuration

Types

type Services added in v0.3.0

type Services struct {
	OAuth         oauth.Service
	Users         storage.User
	Tags          storage.Tag
	Tenants       storage.Tenant
	Notifications storage.Notification
	Ideas         storage.Idea
	Emailer       email.Sender
}

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

Directories

Path Synopsis
pkg
csv
dbx
env
img
jwt
log
md5
uuid
Package uuid provides implementation of Universally Unique Identifier (UUID).
Package uuid provides implementation of Universally Unique Identifier (UUID).
web

Jump to

Keyboard shortcuts

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