controller

package
v0.0.0-...-e163d20 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DashboardEndpoints

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

func (DashboardEndpoints) AccessHandler

func (e DashboardEndpoints) AccessHandler(w http.ResponseWriter, r *http.Request)

func (DashboardEndpoints) ConfigHandler

func (e DashboardEndpoints) ConfigHandler(w http.ResponseWriter, r *http.Request)

func (DashboardEndpoints) CreateAccessKeyHandler

func (e DashboardEndpoints) CreateAccessKeyHandler(w http.ResponseWriter, r *http.Request)

func (DashboardEndpoints) CreateAccessKeyParamsHandler

func (e DashboardEndpoints) CreateAccessKeyParamsHandler(w http.ResponseWriter, r *http.Request)

func (DashboardEndpoints) DeleteAccessKeyHandler

func (e DashboardEndpoints) DeleteAccessKeyHandler(w http.ResponseWriter, r *http.Request)

func (DashboardEndpoints) HomeHandler

func (e DashboardEndpoints) HomeHandler(w http.ResponseWriter, r *http.Request)

type DashboardService

type DashboardService interface {
	DashboardAccessKeys(context.Context, int, int) (dto.AccessParams, error)
	CreateAccessKeyParams(context.Context) dto.CreateAccessKeyParams
	CreateAccessKey(context.Context, accessDto.AccessKeyPermissionsDto) (dto.CreatedAccessKey, error)
	DeleteAccessKey(context.Context, string) error
}

Jump to

Keyboard shortcuts

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