types

package
v0.0.0-...-e67387a Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: MIT Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComposedMessage

type ComposedMessage struct {
	Body      *string     `json:"body,omitempty"`
	Recipient interface{} `json:"recipient"`
	Sender    string      `json:"sender"`
	Subject   string      `json:"subject"`
}

ComposedMessage defines model for ComposedMessage.

type GroupCreation

type GroupCreation struct {
	Groupname string   `json:"groupname"`
	Usernames []string `json:"usernames"`
}

GroupCreation defines model for GroupCreation.

type GroupRecipient

type GroupRecipient struct {
	Groupname *string `json:"groupname,omitempty"`
}

GroupRecipient A message recipient representing a group of users

type Message

type Message struct {
	Id        int64       `json:"id"`
	Re        int64       `json:"re,omitempty"`
	Sender    string      `json:"sender"`
	Recipient interface{} `json:"recipient"`
	Subject   string      `json:"subject"`
	Body      *string     `json:"body,omitempty"`
	SentAt    string      `json:"sentAt"`
}

Message defines model for Message.

type PostGroupsJSONBody

type PostGroupsJSONBody GroupCreation

PostGroupsJSONBody defines parameters for PostGroups.

type PostGroupsJSONRequestBody

type PostGroupsJSONRequestBody PostGroupsJSONBody

PostGroupsJSONRequestBody defines body for PostGroups for application/json ContentType.

type PostMessagesIdRepliesJSONBody

type PostMessagesIdRepliesJSONBody ReplyMessage

PostMessagesIdRepliesJSONBody defines parameters for PostMessagesIdReplies.

type PostMessagesIdRepliesJSONRequestBody

type PostMessagesIdRepliesJSONRequestBody PostMessagesIdRepliesJSONBody

PostMessagesIdRepliesJSONRequestBody defines body for PostMessagesIdReplies for application/json ContentType.

type PostMessagesJSONBody

type PostMessagesJSONBody ComposedMessage

PostMessagesJSONBody defines parameters for PostMessages.

type PostMessagesJSONRequestBody

type PostMessagesJSONRequestBody PostMessagesJSONBody

PostMessagesJSONRequestBody defines body for PostMessages for application/json ContentType.

type PostUsersJSONBody

type PostUsersJSONBody UserRegistration

PostUsersJSONBody defines parameters for PostUsers.

type PostUsersJSONRequestBody

type PostUsersJSONRequestBody PostUsersJSONBody

PostUsersJSONRequestBody defines body for PostUsers for application/json ContentType.

type ReplyMessage

type ReplyMessage struct {
	Body    *string `json:"body,omitempty"`
	Sender  string  `json:"sender"`
	Subject string  `json:"subject"`
}

ReplyMessage defines model for ReplyMessage.

type UserRecipient

type UserRecipient struct {
	Username *string `json:"username,omitempty"`
}

UserRecipient A message recipient representing a single user

type UserRegistration

type UserRegistration struct {
	Username string `json:"username"`
}

UserRegistration defines model for UserRegistration.

Jump to

Keyboard shortcuts

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