caches

package
v0.0.0-...-f750f1c Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2021 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 User

type User struct {
	Name              string `db:"name"`
	FullName          string `db:"full_name"`
	Email             string `db:"email"`
	AvatarOriginalID  string `db:"avatar_original_id"`
	AvatarThumbnailID string `db:"avatar_thumbnail_id"`
	BackgroundID      string `db:"background_id"`
	HideIdentity      bool   `db:"hide_identity"`
	DisplayName       string
}

type Users

type Users interface {
	User(userID, meID string) User
	UserFullAccess(userID string) User
}

func NewUsers

func NewUsers(db *sqlx.DB) Users

Jump to

Keyboard shortcuts

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