Documentation ¶
Index ¶
- func WithContext(authClient auth.Client, dataClient dataClient.Client, ...) rest.HandlerFunc
- type Standard
- func (s *Standard) AuthClient() auth.Client
- func (s *Standard) Close()
- func (s *Standard) ConfirmationsSession() confirmationStore.ConfirmationsSession
- func (s *Standard) DataClient() dataClient.Client
- func (s *Standard) MessagesSession() messageStore.MessagesSession
- func (s *Standard) MetricClient() metric.Client
- func (s *Standard) PermissionsSession() permissionStore.PermissionsSession
- func (s *Standard) ProfilesSession() profileStore.ProfilesSession
- func (s *Standard) SessionsSession() sessionStore.SessionsSession
- func (s *Standard) UserClient() user.Client
- func (s *Standard) UsersSession() userStore.UsersSession
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithContext ¶
func WithContext(authClient auth.Client, dataClient dataClient.Client, metricClient metric.Client, userClient user.Client, confirmationStore confirmationStore.Store, messageStore messageStore.Store, permissionStore permissionStore.Store, profileStore profileStore.Store, sessionStore sessionStore.Store, userStore userStore.Store, handler userService.HandlerFunc) rest.HandlerFunc
Types ¶
type Standard ¶
type Standard struct { *serviceContext.Responder // contains filtered or unexported fields }
func NewStandard ¶
func NewStandard(response rest.ResponseWriter, request *rest.Request, authClient auth.Client, dataClient dataClient.Client, metricClient metric.Client, userClient user.Client, confirmationStore confirmationStore.Store, messageStore messageStore.Store, permissionStore permissionStore.Store, profileStore profileStore.Store, sessionStore sessionStore.Store, userStore userStore.Store) (*Standard, error)
func (*Standard) AuthClient ¶
func (*Standard) ConfirmationsSession ¶
func (s *Standard) ConfirmationsSession() confirmationStore.ConfirmationsSession
func (*Standard) DataClient ¶
func (s *Standard) DataClient() dataClient.Client
func (*Standard) MessagesSession ¶
func (s *Standard) MessagesSession() messageStore.MessagesSession
func (*Standard) MetricClient ¶
func (*Standard) PermissionsSession ¶
func (s *Standard) PermissionsSession() permissionStore.PermissionsSession
func (*Standard) ProfilesSession ¶
func (s *Standard) ProfilesSession() profileStore.ProfilesSession
func (*Standard) SessionsSession ¶
func (s *Standard) SessionsSession() sessionStore.SessionsSession
func (*Standard) UserClient ¶
func (*Standard) UsersSession ¶
func (s *Standard) UsersSession() userStore.UsersSession
Click to show internal directories.
Click to hide internal directories.