Documentation
¶
Index ¶
- Constants
- Variables
- type AuthenticationHelper
- func (AuthenticationHelper) ExtractAccessToken(echoContext echo.Context) (accessToken tkValueObject.AccessTokenValue, err error)
- func (AuthenticationHelper) ExtractIpAddress(echoContext echo.Context) (tkValueObject.IpAddress, error)
- func (AuthenticationHelper) ReadAccessTokenAccountId(authQueryRepo repository.AuthQueryRepo, ...) (accountId tkValueObject.AccountId, err error)
- type ServiceAvailabilityInspector
Constants ¶
View Source
const AuthorizationHeader string = "Authorization"
Variables ¶
Functions ¶
This section is empty.
Types ¶
type AuthenticationHelper ¶ added in v0.3.1
type AuthenticationHelper struct{}
func (AuthenticationHelper) ExtractAccessToken ¶ added in v0.3.1
func (AuthenticationHelper) ExtractAccessToken( echoContext echo.Context, ) (accessToken tkValueObject.AccessTokenValue, err error)
func (AuthenticationHelper) ExtractIpAddress ¶ added in v0.3.1
func (AuthenticationHelper) ExtractIpAddress( echoContext echo.Context, ) (tkValueObject.IpAddress, error)
func (AuthenticationHelper) ReadAccessTokenAccountId ¶ added in v0.3.1
func (AuthenticationHelper) ReadAccessTokenAccountId( authQueryRepo repository.AuthQueryRepo, accessToken tkValueObject.AccessTokenValue, userIpAddress tkValueObject.IpAddress, ) (accountId tkValueObject.AccountId, err error)
type ServiceAvailabilityInspector ¶
type ServiceAvailabilityInspector struct {
// contains filtered or unexported fields
}
func NewServiceAvailabilityInspector ¶
func NewServiceAvailabilityInspector( persistentDbSvc *internalDbInfra.PersistentDatabaseService, ) *ServiceAvailabilityInspector
func (*ServiceAvailabilityInspector) IsAvailable ¶
func (inspector *ServiceAvailabilityInspector) IsAvailable( serviceName valueObject.ServiceName, ) bool
Click to show internal directories.
Click to hide internal directories.