context

package
v1.29.0-mobile.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2018 License: BSD-2-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithContext

func WithContext(authClient auth.Client, dataClient dataClient.Client, metricClient metric.Client, permissionClient permission.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, permissionClient permission.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 (s *Standard) AuthClient() auth.Client

func (*Standard) Close

func (s *Standard) Close()

func (*Standard) ConfirmationSession added in v1.24.0

func (s *Standard) ConfirmationSession() confirmationStore.ConfirmationSession

func (*Standard) DataClient

func (s *Standard) DataClient() dataClient.Client

func (*Standard) MessagesSession

func (s *Standard) MessagesSession() messageStore.MessagesSession

func (*Standard) MetricClient

func (s *Standard) MetricClient() metric.Client

func (*Standard) PermissionClient added in v1.29.0

func (s *Standard) PermissionClient() permission.Client

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) UsersSession

func (s *Standard) UsersSession() userStore.UsersSession

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL