usergrp

package
v0.0.0-...-1f9e35f Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package usergrp maintains the group of handlers for user access.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handlers

type Handlers struct {
	User user.UserUseCases
	Auth *auth.Auth
}

Handlers manages the set of user endpoints.

func (Handlers) Create

Create adds a new user to the system.

func (Handlers) Register

func (h Handlers) Register(ctx context.Context, w http.ResponseWriter, r *http.Request) error

Register adds a new user to the system.

func (Handlers) Token

Token provides an API token for the authenticated user.

Jump to

Keyboard shortcuts

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