Documentation
¶
Index ¶
- func AuthenticateHandler(s *wrapper.Service) echo.HandlerFunc
- func CreatePolicyHandler(s *wrapper.Service) echo.HandlerFunc
- func CreateSimpleObjectHandler(s *wrapper.Service) echo.HandlerFunc
- func GetCertForClientHandler(s *wrapper.Service) echo.HandlerFunc
- func GetCertForServiceHandler(s *wrapper.Service) echo.HandlerFunc
- func GormTransactionHandler(db repository.Database) echo.MiddlewareFunc
- func NewEcho(s *wrapper.Service) *echo.Echo
- func UpdateObjectHandler(s *wrapper.Service) echo.HandlerFunc
- func UpdatePolicyHandler(s *wrapper.Service) echo.HandlerFunc
- func ValidateObjectHandler(s *wrapper.Service) echo.HandlerFunc
- type CustomValidator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthenticateHandler ¶
AuthenticateHandler Authenticate user --> call REST API cert to get request
func CreatePolicyHandler ¶
func GetCertForClientHandler ¶
GetCertForClientHandler return object permission after successful authn
func GetCertForServiceHandler ¶
GetCertForServiceHandler return object permission for service to cache
func GormTransactionHandler ¶
func GormTransactionHandler(db repository.Database) echo.MiddlewareFunc
func UpdateObjectHandler ¶
func UpdatePolicyHandler ¶
func ValidateObjectHandler ¶
ValidateObjectHandler quick check if token is valid
Types ¶
type CustomValidator ¶
type CustomValidator struct {
// contains filtered or unexported fields
}
func (*CustomValidator) Validate ¶
func (cv *CustomValidator) Validate(i interface{}) error
Click to show internal directories.
Click to hide internal directories.