model

package
v0.0.0-...-3eb3fbd Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deletion

type Deletion struct {
	ID  string `json:"id"`
	Msg string `json:"msg"`
}

type NewChat

type NewChat struct {
	Participants []uint64
}

type NewComment

type NewComment struct {
	models.WriteCommentDTO
}

type NewMessage

type NewMessage struct {
	models.WriteMessageDTO
}

type NewPost

type NewPost struct {
	models.WritePostDTO
}

type NewRedisRecord

type NewRedisRecord struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type NewUser

type NewUser struct {
	models.WriteUserDTO
}

type UpdateComment

type UpdateComment struct {
	Content *string `json:"content,omitempty"`
}

type UpdateMessage

type UpdateMessage struct {
	Content *string `json:"content,omitempty"`
}

type UpdatePost

type UpdatePost struct {
	Title   *string `json:"title,omitempty"`
	Content *string `json:"content,omitempty"`
}

type UpdateUser

type UpdateUser struct {
	Name  *string `json:"name,omitempty"`
	Email *string `json:"email,omitempty"`
}

Jump to

Keyboard shortcuts

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