Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRandomClaims ¶
func NewRandomClaims() middleware.TumblerClaims
Types ¶
type TestMiddleware ¶
type TestMiddleware struct {
// contains filtered or unexported fields
}
TestMiddleware - Handles injecting a session into a request for testing
func NewTestMiddleware ¶
func NewTestMiddleware(time stime.TimeService, claims middleware.TumblerClaims, serviceName string) *TestMiddleware
NewTestMiddleware - Generates a default Middleware that always injects the specified Session into the request
Click to show internal directories.
Click to hide internal directories.