Documentation
¶
Index ¶
Constants ¶
View Source
const ( VALID_AUTHENTICATION_TOKEN = "bearer correctAuthorizationToken" INVALID_AUTHENTICATION_TOKEN = "incorrectAuthorizationToken" )
Variables ¶
This section is empty.
Functions ¶
func AssertConnectionFails ¶
Types ¶
type AdminAuthorizer ¶
type AdminAuthorizer struct { TokenParam string Result AuthorizerResult }
type AuthorizerResult ¶
type FakeListener ¶
func NewFakeListener ¶
func NewFakeListener() *FakeListener
func (*FakeListener) Stop ¶
func (f *FakeListener) Stop()
type LogAuthorizer ¶
type LogAuthorizer struct { TokenParam string Target string Result AuthorizerResult }
Click to show internal directories.
Click to hide internal directories.