helpers

package
v0.0.0-...-60aef79 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	// contains filtered or unexported fields
}

func NewDB

func NewDB(connectionString string) Database

func (Database) AddUserToBeta

func (d Database) AddUserToBeta(name string)

func (Database) GetEmails

func (d Database) GetEmails() []string

func (Database) GetOwnerUUIDByEmail

func (d Database) GetOwnerUUIDByEmail(email string) string

func (Database) GetTokenByEmail

func (d Database) GetTokenByEmail(email string) string

func (Database) GetTokenUUIDByOwnerUUID

func (d Database) GetTokenUUIDByOwnerUUID(ownerUUID string) string

func (Database) IsUserInBeta

func (d Database) IsUserInBeta(name string) bool

func (Database) PurgeOwnerByEmail

func (d Database) PurgeOwnerByEmail(email string)

func (Database) RemoveUserFromBeta

func (d Database) RemoveUserFromBeta(name string)

Jump to

Keyboard shortcuts

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