responses

package
v0.0.0-...-6f578bd Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2019 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

View Source
const (
	CantFindUser = "Can't find user with nickname '%s'"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	Msg string `json:"message"`
}

func MsgCantFindUser

func MsgCantFindUser(nickname string) Message

type PostInfo

type PostInfo struct {
	Post *models.Post `json:"post"`

	Thread *models.Thread `json:"thread,omitempty"`

	Forum *models.Forum `json:"forum,omitempty"`

	Author *models.User `json:"author,omitempty"`
}

Jump to

Keyboard shortcuts

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