Discover Packages
github.com/bottlehub/unboard/boards
graph
model
package
Version:
v0.0.0-...-c4c9469
Opens a new window with list of versions in this module.
Published: Oct 11, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Chatboard struct {
ID string `json:"id"`
Name string `json:"name"`
ImageURL string `json:"imageURL"`
Description *string `json:"description,omitempty"`
Members []*User `json:"members,omitempty"`
Messages []*Message `json:"messages,omitempty"`
}
type DeleteChatboard struct {
ID string `json:"id"`
}
type DeleteMessage struct {
ID string `json:"id"`
}
type Fetch struct {
ID string `json:"id"`
}
type Message struct {
ID string `json:"id"`
Text *string `json:"text,omitempty"`
FileURL *string `json:"fileURL,omitempty"`
MessageBy *User `json:"messageBy"`
MessageOn *Chatboard `json:"messageOn"`
}
type NewChatboard struct {
Name string `json:"name"`
ImageURL string `json:"imageURL"`
Description *string `json:"description,omitempty"`
}
type NewMessage struct {
Text *string `json:"text,omitempty"`
FileURL *string `json:"fileURL,omitempty"`
MessageBy string `json:"messageBy"`
MessageOn string `json:"messageOn"`
}
const (
StatusNotStarted Status = "NOT_STARTED"
StatusInProgress Status = "IN_PROGRESS"
StatusCompleted Status = "COMPLETED"
)
type UpdateChatboard struct {
Name *string `json:"name,omitempty"`
ImageURL *string `json:"imageURL,omitempty"`
Description *string `json:"description,omitempty"`
}
type UpdateMessage struct {
Text *string `json:"text,omitempty"`
FileURL *string `json:"fileURL,omitempty"`
}
type User struct {
ID string `json:"id"`
Username string `json:"username"`
Name string `json:"name"`
About *string `json:"about,omitempty"`
AvatarImageURL string `json:"avatarImageURL"`
Following []*User `json:"following,omitempty"`
Followers []*User `json:"followers,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.