resources

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminBlogResource

type AdminBlogResource struct {
	// contains filtered or unexported fields
}

func (*AdminBlogResource) Get

func (*AdminBlogResource) List

func (*AdminBlogResource) ListWithParams

type CreateMicropostRequest

type CreateMicropostRequest struct {
	Body                           string
	Title                          *string
	PostType                       schemas.PostType
	CommunityName                  *string
	ParentMicropostPublicID        *string
	ParentMicropostCommentPublicID *string
	AllowComments                  bool
	IsDraft                        bool
	File                           *FilePayload
}

type FilePayload

type FilePayload struct {
	Filename string
	Reader   io.Reader
	MimeType string
}

type ListAdminBlogsRequest

type ListAdminBlogsRequest struct {
	Title    *string
	Category *string
	Skip     *int
	Limit    *int
}

type MicropostResource

type MicropostResource struct {
	// contains filtered or unexported fields
}

func (*MicropostResource) Delete

func (r *MicropostResource) Delete(ctx context.Context, publicID string) error

func (*MicropostResource) Vote

Jump to

Keyboard shortcuts

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