partnership

package
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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GetPartnershipBlacklistReasonController = util.DasController{
	Name:         "GetPartnershipBlacklistReasonController",
	Description:  "Get all the partnership blacklist reasons from DAS",
	Method:       http.MethodGet,
	Endpoint:     apiPartnershipBlacklistReasonEndpoint,
	Handler:      partnershipRequestBlacklistReasonServer.GetPartnershipBlacklistReasonHandler,
	AllowedRoles: []int{businesslogic.AccountTypeNoAuth},
}
View Source
var GetPartnershipRoleController = util.DasController{
	Name:         "GetPartnershipRoleController",
	Description:  "Get all roles of partnership",
	Method:       http.MethodGet,
	Endpoint:     apiPartnershipRoleEndpoint,
	Handler:      partnershipRoleServer.GetPartnershipRolesHandler,
	AllowedRoles: []int{businesslogic.AccountTypeNoAuth},
}
View Source
var PartnershipControllerGroup = util.DasControllerGroup{
	Controllers: []util.DasController{
		searchPartnershipController,
		updatePartnershipController,
	},
}

PartnershipControllerGroup contains a collection of HTTP request handler functions for Partnership related request

View Source
var PartnershipRequestBlacklistControllerGroup = util.DasControllerGroup{
	Controllers: []util.DasController{
		searchBlacklistedAccountController,
		createBlacklistedAccountController,
	},
}

PartnershipRequestBlacklistControllerGroup is a collection of handler functions for managing Partnership request blacklist in DAS

View Source
var PartnershipRequestControllerGroup = util.DasControllerGroup{
	Controllers: []util.DasController{
		createPartnershipRequestController,
		searchPartnershipRequestController,
		updatePartnershipRequestController,
		deletePartnershipRequestController,
	},
}
View Source
var PartnershipRequestStatusController = util.DasController{
	Name:         "PartnershipRequestStatusController",
	Description:  "Search partnership request status in DAS",
	Method:       http.MethodGet,
	Endpoint:     "/api/partnership/request/status",
	Handler:      partnershipRequestStatusServer.GetPartnershipRequestStatusHandler,
	AllowedRoles: []int{businesslogic.AccountTypeNoAuth},
}

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