server

package
v0.0.0-...-ae06870 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnDB

func ConnDB() (*sqlx.DB, error)

func RetrieveCalendar

func RetrieveCalendar(
	ctx context.Context,
	db *sqlx.DB,
	id uint64,
) (*pbservices.Calendar, error)

Types

type AuthFunc

type AuthFunc func(ctx context.Context) (uint64, error)

func GetUserFromAccessToken

func GetUserFromAccessToken(c pbauth.AuthClient, access string) AuthFunc

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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