controllers

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateKey

func CreateKey(c *gin.Context)

CreateKey is a ... @Accept application/json @Produce application/json @Param @Success 200 {string} string "{"status":"200", "msg":""}" @Router /key [post]

func CreateTariff

func CreateTariff(c *gin.Context)

func CustomerSubscriptionList

func CustomerSubscriptionList(c *gin.Context)

CustomerSubscriptionList is a ...

func DownloadLicense

func DownloadLicense(c *gin.Context)

DownloadLicense is a ...

func GetKey

func GetKey(c *gin.Context)

GetKey is a ... @Accept application/json @Produce application/json @Param @Success 200 {string} string "{"status":"200", "msg":""}" @Router /key/:customer_id [get]

func MainHandler

func MainHandler(c *gin.Context)

MainHandler is a ...

func TariffsList

func TariffsList(c *gin.Context)

func UpdateKey

func UpdateKey(c *gin.Context)

UpdateKey is a ... @accept application/json @Produce application/json @Param @Success 200 {string} string "{"status":"200", "msg":""}" @Router /key/:customer_id [PATCH]

func VerifyKey

func VerifyKey(c *gin.Context)

VerifyKey is a ... @Accept application/json @Produce application/json @Param @Success 200 {string} string "{"status":"200", "msg":""}" @Router /verify [post]

Types

type ResponseData

type ResponseData struct {
	Status int    `json:"status"`
	Msg    string `json:"msg"`
}

ResponseData is a ...

Jump to

Keyboard shortcuts

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