domain

package
v0.0.0-...-4f43567 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2021 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateChatRequest

type CreateChatRequest struct {
	UserIDs []string `form:"users,omitempty" json:"users,omitempty"`
	Label   string   `form:"label,omitempty" json:"label,omitempty"`
}

CreateChatRequest struct for create chat request.

type CreateMessageRequest

type CreateMessageRequest struct {
	ChatID string `form:"chat,omitempty" json:"chat,omitempty"`
	UserID string `form:"user,omitempty" json:"user,omitempty"`
	Body   string `form:"body,omitempty" json:"body,omitempty"`
}

CreateMessageRequest struct for create message request.

type SearchChatRequest

type SearchChatRequest struct {
	UserIDs []string `form:"users,omitempty" json:"users,omitempty"`
}

SearchChatRequest struct for search chat request.

type SearchMessageRequest

type SearchMessageRequest struct {
	UserID string `form:"user,omitempty" json:"user,omitempty"`
	ChatID string `form:"chat,omitempty" json:"chat,omitempty"`
}

SearchMessageRequest struct for search message request.

type SimpleResponse

type SimpleResponse struct {
	Status string
}

SimpleResponse is an response status.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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