jsonmodel

package
v0.0.0-...-7e94697 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Extra

type Extra struct {
	H        int
	W        int
	Fsize    uint64 `json:"fsize"`    // in bytes
	Filename string `json:"filename"` // Original filename, without extension
	Ext      string `json:"ext"`      // eg: ".png"
	Tim      string `json:"tim"`      // Uploaded filename, without extension
	// contains filtered or unexported fields
}

type Message

type Message struct {
	No      int    `json:"no"`
	Title   string `json:"sub"`
	Comment string `json:"com"`
	Author  string `json:"name"`

	Time int64 `json:"time"`

	H        int
	W        int
	Fsize    uint64 `json:"fsize"`
	Filename string `json:"filename"`
	Ext      string `json:"ext"`
	Tim      string `json:"tim"`

	Resto      int     `json:"resto"`
	ExtraFiles []Extra `json:"extra_files"`
	// contains filtered or unexported fields
}

type Thread

type Thread struct {
	Posts []Message
}

Jump to

Keyboard shortcuts

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