package
0.0.0-20211027060658-3ea1b23a9a8b
Repository: https://github.com/pasteus/pastemegobackend.git
Documentation: pkg.go.dev

# Functions

Create 创建一贴 @Summary 创建永久存储或者是自我销毁的一贴 @Description 只有在登陆的状态下才能创建永久的一贴 @Tags Paste @Accept json @Produce json @Param Authorization header string false "登陆的 Token" @Param data body CreateRequest true "请求数据" @Success 201 {object} CreateResponse @Failure default {object} common.ErrorResponse @Router /paste/ [post].
Get godoc @Summary 读取一贴 @Description 如果不指定 Accept: application/json 的话,默认会返回 text/plain 格式的 content @Tags Paste @Accept json @Produce json @Param Accept header string false "响应格式" default("text/plain") @Param key path string true "索引" @Success 201 {object} GetResponse @Failure default {object} common.ErrorResponse @Router /paste/{key} [get].

# Structs

No description provided by the author
No description provided by the author
No description provided by the author