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 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)
Click to show internal directories.
Click to hide internal directories.