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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessEndpoints

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

func New

func (AccessEndpoints) DeleteAccessKeysHandler

func (e AccessEndpoints) DeleteAccessKeysHandler(w http.ResponseWriter, r *http.Request)

func (AccessEndpoints) GenerateAccessKeyHandler

func (e AccessEndpoints) GenerateAccessKeyHandler(w http.ResponseWriter, r *http.Request)

func (AccessEndpoints) PaginateAccessKeysHandler

func (e AccessEndpoints) PaginateAccessKeysHandler(w http.ResponseWriter, r *http.Request)

type AccessService

type AccessService interface {
	GenerateAccessKey(ctx context.Context, accessKeyPerms dto.AccessKeyPermissionsDto) (dto.AccessKeyPermissionsDto, error)
	DeleteAccessKeys(ctx context.Context, keys []string) error
	PaginateAccessKeys(ctx context.Context, page, size int) (*repository.PaginatedAccessKeys, error)
}

Jump to

Keyboard shortcuts

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