activity

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: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//CancelState 取消活动
	CancelState = -1
	//JoinState 参加活动
	JoinState = 0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ActWithTP

type ActWithTP struct {
	ID       int64  `json:"id"`
	Name     string `json:"name"`
	Tags     string `json:"tags"`
	Types    string `json:"types"`
	Hot      int8   `json:"hot"`
	ActURL   string `json:"act_url"`
	Protocol string `json:"protocol"`
	Type     int    `json:"type"`
}

ActWithTP str

type Activity

type Activity struct {
	ID       int64  `json:"id"`
	Name     string `json:"name"`
	Tags     string `json:"tags"`
	Hot      int8   `json:"hot"`
	ActURL   string `json:"act_url"`
	Protocol string `json:"protocol"`
	Type     int    `json:"type"`
	New      int8   `json:"new"`
	Comment  string `json:"comment"`
	STime    string `json:"stime"`
}

Activity for activiy list.

type Like

type Like struct {
	Count int `json:"count"`
}

Like for Like

type Protocol

type Protocol struct {
	ID       string `json:"id"`
	Protocol string `json:"protocol"`
	Tags     string `json:"tags"`
	Types    string `json:"types"`
}

Protocol str

type Subject

type Subject struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

Subject for Subject

Jump to

Keyboard shortcuts

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