clientgrp

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2022 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package clientgrp maintains the group of handlers for group access.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handlers

type Handlers struct {
	Client    client.Core
	Workspace workspace.Core
	User      user.Core
	Project   project.Core
}

Handlers manages the set of client endpoints.

func (Handlers) Create

Create adds a new client to the system.

func (Handlers) Delete

Delete removes a client from the system.

func (Handlers) Query

Query returns a list of clients with paging.

func (Handlers) QueryByID

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

QueryByID returns a client by its ID.

func (Handlers) QueryClientProjects

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

QueryClientProjects returns a list of workspaces with paging.

func (Handlers) Update

Update updates a client in the system.

Jump to

Keyboard shortcuts

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