post

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostContract

type PostContract interface {
	CreatePost(ctx context.Context, param *post2.CreatePostRequest) (*result.PostTXResult, error)
	LikePost(ctx context.Context, param *post2.LikeRequest) error
	UnLikePost(ctx context.Context, param *post2.LikeRequest) error
	RetweetPost(ctx context.Context, param *post2.RetweetRequest) error
	CreateQouteRetweet(ctx context.Context, param *post2.QouteRetweetRequest) error
	CreateComment(ctx context.Context, param *post2.CommentRequest) (err *util.MultiError)
	DeletePost(ctx context.Context, AccountID int64, PostID uuid.UUID) error
}

Jump to

Keyboard shortcuts

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