Help us shape the future of Go! Take the 2026 Go Developer Survey

application

package
v1.21.2 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package application holds the admin HTTP handlers for the client applications of subscription delivery and their template previews.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSubscribeApplicationHandler

func CreateSubscribeApplicationHandler(service subscription.Service) app.HandlerFunc

CreateSubscribeApplicationHandler documents Create subscribe application.

@Summary Create subscribe application @Tags admin @Accept json @Produce json @Security BearerAuth @Param request body dto.CreateSubscribeApplicationRequest true "Request parameters" @Success 200 {object} httpx.ResponseSuccessBean{data=dto.SubscribeApplication} @Router /v1/admin/application/ [post]

func DeleteSubscribeApplicationHandler

func DeleteSubscribeApplicationHandler(service subscription.Service) app.HandlerFunc

DeleteSubscribeApplicationHandler documents Delete subscribe application.

@Summary Delete subscribe application @Tags admin @Accept json @Produce json @Security BearerAuth @Param request body dto.DeleteSubscribeApplicationRequest true "Request parameters" @Success 200 {object} httpx.ResponseSuccessBean @Router /v1/admin/application/subscribe_application [delete]

func GetSubscribeApplicationListHandler

func GetSubscribeApplicationListHandler(service subscription.Service) app.HandlerFunc

GetSubscribeApplicationListHandler documents Get subscribe application list.

@Summary Get subscribe application list @Tags admin @Accept json @Produce json @Security BearerAuth @Param request query dto.GetSubscribeApplicationListRequest false "Request parameters" @Success 200 {object} httpx.ResponseSuccessBean{data=dto.GetSubscribeApplicationListResponse} @Router /v1/admin/application/subscribe_application_list [get]

func PreviewSubscribeTemplateHandler

func PreviewSubscribeTemplateHandler(service subscription.Service) app.HandlerFunc

PreviewSubscribeTemplateHandler documents Preview Template.

@Summary Preview Template @Tags admin @Accept json @Produce json @Security BearerAuth @Param request query dto.PreviewSubscribeTemplateRequest false "Request parameters" @Success 200 {object} httpx.ResponseSuccessBean{data=dto.PreviewSubscribeTemplateResponse} @Router /v1/admin/application/preview [get]

func UpdateSubscribeApplicationHandler

func UpdateSubscribeApplicationHandler(service subscription.Service) app.HandlerFunc

UpdateSubscribeApplicationHandler documents Update subscribe application.

@Summary Update subscribe application @Tags admin @Accept json @Produce json @Security BearerAuth @Param request body dto.UpdateSubscribeApplicationRequest true "Request parameters" @Success 200 {object} httpx.ResponseSuccessBean{data=dto.SubscribeApplication} @Router /v1/admin/application/subscribe_application [put]

Types

This section is empty.

Jump to

Keyboard shortcuts

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