mirror of
https://github.com/m5stack/StackChan.git
synced 2026-04-28 11:27:59 +00:00
1349df2d68
- introduce broad v2 API surface across device, user, dance, and stackchandevice modules - add admin/appstore management flows and strengthen service/controller layering - implement XiaoZhi integration end-to-end, including token, refresh, license, and agent-related models/services - expand social and media capabilities with pano support, post/comment workflow updates, and bundled dance music assets - add websocket task pipeline and refactor realtime communication models/handlers - enhance middleware, cron bootstrap, DAO/model coverage, and configuration/deployment manifests for production readiness - add RSA utility support and update project documentation/config scaffolding
26 lines
1010 B
Go
26 lines
1010 B
Go
/*
|
|
SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD
|
|
SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
// =================================================================================
|
|
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
|
// =================================================================================
|
|
|
|
package post
|
|
|
|
import (
|
|
"context"
|
|
|
|
"stackChan/api/post/v1"
|
|
)
|
|
|
|
type IPostV1 interface {
|
|
CreatePost(ctx context.Context, req *v1.CreatePostReq) (res *v1.CreatePostRes, err error)
|
|
GetPost(ctx context.Context, req *v1.GetPostReq) (res *v1.GetPostRes, err error)
|
|
DeletePost(ctx context.Context, req *v1.DeletePostReq) (res *v1.DeletePostRes, err error)
|
|
CreatePostComment(ctx context.Context, req *v1.CreatePostCommentReq) (res *v1.CreatePostCommentRes, err error)
|
|
DeletePostComment(ctx context.Context, req *v1.DeletePostCommentReq) (res *v1.DeletePostCommentRes, err error)
|
|
GetPostComment(ctx context.Context, req *v1.GetPostCommentReq) (res *v1.GetPostCommentRes, err error)
|
|
}
|