feedback

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Feedback

type Feedback struct {
	Session *Session `json:"session"`
	Tag     *Tag     `json:"tag"`
}

Feedback feedback session.

type Platform

type Platform struct {
	EN   string `json:"en"`
	ZH   string `json:"zh"`
	Tags []*Tag `json:"tags"`
}

Platform for tag info.

type Reply

type Reply struct {
	ReplyID string    `json:"reply_id"`
	Type    int8      `json:"type"`
	Content string    `json:"content"`
	ImgURL  string    `json:"img_url"`
	CTime   time.Time `json:"ctime"`
}

Reply feedback reply.

type Session

type Session struct {
	SessionID int64     `json:"id"`
	Content   string    `json:"content"`
	ImgURL    string    `json:"img_url"`
	State     int8      `json:"state"`
	CTime     time.Time `json:"ctime"`
}

Session for Feedback.

type Tag

type Tag struct {
	ID       int64  `json:"id"`
	Name     string `json:"name"`
	Platform string `json:"-"`
}

Tag feedback tags.

type TagList

type TagList struct {
	Platforms []*Platform `json:"platforms"`
	Limit     int         `json:"limit"`
}

TagList list tag.

Jump to

Keyboard shortcuts

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