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 New(s AccessService) *AccessEndpoints
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) }
Click to show internal directories.
Click to hide internal directories.