currentuser

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Package currentuser provides the services related to the current user.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderGroupGroupTransitionResult

func RenderGroupGroupTransitionResult(w http.ResponseWriter, r *http.Request, result database.GroupGroupTransitionResult,
	approvalsToRequest database.GroupApprovals, action userGroupRelationAction,
) service.APIError

RenderGroupGroupTransitionResult renders database.GroupGroupTransitionResult as a response or returns an APIError.

Types

type Service

type Service struct {
	*service.Base
}

Service is the mount point for services related to `currentuser`.

func (*Service) SetRoutes

func (srv *Service) SetRoutes(router chi.Router)

SetRoutes defines the routes for this package in a route group.

Jump to

Keyboard shortcuts

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