transport

package
v0.0.0-...-42bc17a Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: BSD-3-Clause Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthenticateHandler

func AuthenticateHandler(s *wrapper.Service) echo.HandlerFunc

AuthenticateHandler Authenticate user --> call REST API cert to get request

func CreatePolicyHandler

func CreatePolicyHandler(s *wrapper.Service) echo.HandlerFunc

func CreateSimpleObjectHandler

func CreateSimpleObjectHandler(s *wrapper.Service) echo.HandlerFunc

func GetCertForClientHandler

func GetCertForClientHandler(s *wrapper.Service) echo.HandlerFunc

GetCertForClientHandler return object permission after successful authn

func GetCertForServiceHandler

func GetCertForServiceHandler(s *wrapper.Service) echo.HandlerFunc

GetCertForServiceHandler return object permission for service to cache

func GormTransactionHandler

func GormTransactionHandler(db repository.Database) echo.MiddlewareFunc

func NewEcho

func NewEcho(s *wrapper.Service) *echo.Echo

func UpdateObjectHandler

func UpdateObjectHandler(s *wrapper.Service) echo.HandlerFunc

func UpdatePolicyHandler

func UpdatePolicyHandler(s *wrapper.Service) echo.HandlerFunc

func ValidateObjectHandler

func ValidateObjectHandler(s *wrapper.Service) echo.HandlerFunc

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

Jump to

Keyboard shortcuts

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