Documentation ¶
Index ¶
- type RouteParamManager
- func (m *RouteParamManager) BuildRouteParamIDFetcher(logger logging.Logger, key, logDescription string) func(*http.Request) uint64
- func (m *RouteParamManager) BuildRouteParamStringIDFetcher(key string) func(req *http.Request) string
- func (m *RouteParamManager) FetchContextFromRequest(req *http.Request) (*types.SessionContextData, error)
- func (m *RouteParamManager) UserIDFetcherFromSessionContextData(req *http.Request) uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RouteParamManager ¶
RouteParamManager is a mock routing.RouteParamManager.
func NewRouteParamManager ¶
func NewRouteParamManager() *RouteParamManager
NewRouteParamManager returns a new RouteParamManager.
func (*RouteParamManager) BuildRouteParamIDFetcher ¶
func (m *RouteParamManager) BuildRouteParamIDFetcher(logger logging.Logger, key, logDescription string) func(*http.Request) uint64
BuildRouteParamIDFetcher satisfies our interface contract.
func (*RouteParamManager) BuildRouteParamStringIDFetcher ¶
func (m *RouteParamManager) BuildRouteParamStringIDFetcher(key string) func(req *http.Request) string
BuildRouteParamStringIDFetcher satisfies our interface contract.
func (*RouteParamManager) FetchContextFromRequest ¶
func (m *RouteParamManager) FetchContextFromRequest(req *http.Request) (*types.SessionContextData, error)
FetchContextFromRequest satisfies our interface contract.
func (*RouteParamManager) UserIDFetcherFromSessionContextData ¶
func (m *RouteParamManager) UserIDFetcherFromSessionContextData(req *http.Request) uint64
UserIDFetcherFromSessionContextData satisfies our interface contract.
Click to show internal directories.
Click to hide internal directories.