feat: add Go backend
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
// Package servmsgin
|
||||
// @Link https://github.com/bufanyun/hotgo
|
||||
// @Copyright Copyright (c) 2023 HotGo CLI
|
||||
// @Author Ms <133814250@qq.com>
|
||||
// @License https://github.com/bufanyun/hotgo/blob/master/LICENSE
|
||||
package servmsgin
|
||||
|
||||
import "github.com/gogf/gf/v2/os/gtime"
|
||||
|
||||
// AuthSummaryModel 授权信息
|
||||
type AuthSummaryModel struct {
|
||||
EndAt *gtime.Time `json:"end_at" description:"授权过期时间"`
|
||||
Online int `json:"online" description:"在线人数"`
|
||||
// 请填充你的授权数据
|
||||
// ...
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
// Package servmsgin
|
||||
// @Link https://github.com/bufanyun/hotgo
|
||||
// @Copyright Copyright (c) 2023 HotGo CLI
|
||||
// @Author Ms <133814250@qq.com>
|
||||
// @License https://github.com/bufanyun/hotgo/blob/master/LICENSE
|
||||
package servmsgin
|
||||
|
||||
import "github.com/gogf/gf/v2/os/gtime"
|
||||
|
||||
// ExampleHelloModel 授权信息
|
||||
type ExampleHelloModel struct {
|
||||
Desc string `json:"desc" description:"描述信息"`
|
||||
Timestamp *gtime.Time `json:"timestamp" description:"服务器时间"`
|
||||
}
|
||||
Reference in New Issue
Block a user