controllers

package
v1.2.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserprofileController

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

UserprofileController represents a database connection to userprofile collection

func NewUserprofileController

func NewUserprofileController(u database.UserProfilesCollection) *UserprofileController

NewUserprofileController creates a controller with the given db collection

func (*UserprofileController) Create

Create creates or updates

func (*UserprofileController) Get

Get returns the userprofile for the given ID

Jump to

Keyboard shortcuts

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