acl

package
v0.8.7 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ACLCheckRequest

type ACLCheckRequest struct {
	User  string          `form:"user" binding:"required"`
	Path  string          `form:"path" binding:"required"`
	Size  int64           `form:"size"`
	Level acl.AccessLevel `form:"level" binding:"required"`
}

type ACLCheckResponse

type ACLCheckResponse struct {
	User  string `json:"user"`
	Path  string `json:"path"`
	Level string `json:"level"`
}

type ACLHandler

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

func NewACLHandler

func NewACLHandler(svc *acl.ACLService) *ACLHandler

func (*ACLHandler) CheckAccess

func (h *ACLHandler) CheckAccess(ctx *gin.Context)

Jump to

Keyboard shortcuts

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