account

package
Version: v0.0.0-...-99b79bc Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2019 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AccountControllerGroup = util.DasControllerGroup{
	Controllers: []util.DasController{
		accountRegistrationController,
		accountAuthenticationController,
	},
}
View Source
var AccountTypeController = util.DasController{
	Name:         "AccountTypeController",
	Description:  "Get all account types in DAS",
	Method:       http.MethodGet,
	Endpoint:     apiAccountTypeEndpoint,
	Handler:      accountTypeServer.GetAccountTypeHandler,
	AllowedRoles: []int{businesslogic.AccountTypeNoAuth},
}
View Source
var GenderController = util.DasController{
	Name:         "GenderController",
	Description:  "Get all genders in DAS",
	Method:       http.MethodGet,
	Endpoint:     apiAccountGenderEndpoint,
	Handler:      genderServer.GetAccountGenderHandler,
	AllowedRoles: []int{businesslogic.AccountTypeNoAuth},
}
View Source
var RoleApplicationControllerGroup = util.DasControllerGroup{
	Controllers: []util.DasController{
		createRoleApplicationController,
		searchRoleApplicationController,
		adminSearchRoleApplicationController,
		provisionRoleApplicationController,
		getRoleApplicationStatusController,
	},
}
View Source
var RoleController = util.DasController{
	Name:        "RoleController",
	Description: "Provide the roles of a user",
	Method:      http.MethodGet,
	Endpoint:    apiAccountRole,
	Handler:     roleServer.GetAccountRolesHandler,
	AllowedRoles: []int{
		businesslogic.AccountTypeAthlete,
	},
}
View Source
var SearchProfileControllerGroup = util.DasControllerGroup{
	Controllers: []util.DasController{
		searchPartnershipProfileController,
		searchDancerProfileController,
	},
}
View Source
var UserPreferenceControllerGroup = util.DasControllerGroup{
	Controllers: []util.DasController{
		searchUserPreferenceHandler,
		updateUserPreferenceHandler,
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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