utils

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorUserNotFound     = errors.New("user not found")
	ErrorUserNotConfirmed = errors.New("user not confirmed")
)
View Source
var DB = new(sql.DB)

Functions

func ConnectDatabase

func ConnectDatabase()

func NatsConnect

func NatsConnect(url string)

func RandomBase64

func RandomBase64(n int) (string, error)

func RandomBytes

func RandomBytes(n int) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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