message

package
v0.0.0-...-983cbdb Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MessageProfileRedisGet

func MessageProfileRedisGet(cubeId string) interface{}

func UserMessageCleanRedis

func UserMessageCleanRedis(id string)

Types

type Message

type Message struct {
	Id          int
	BlogId      int
	TalkId      int
	CubeId      string
	SendId      string
	Text        string `orm:"type(text)"`
	Date        string `orm:"index;type(datetime)"`
	Blog        int
	Talk        int
	Message     int
	Care        int
	BlogComment int
	TalkComment int
}

func (*Message) MessageDelete

func (m *Message) MessageDelete(id, cubeId, index string) (string, bool)

func (*Message) MessageProfileGet

func (m *Message) MessageProfileGet(cubeId string) interface{}

func (*Message) MessageProfileUserBlogClean

func (m *Message) MessageProfileUserBlogClean(id, deleteId string)

func (*Message) MessageProfileUserBlogGet

func (m *Message) MessageProfileUserBlogGet(cubeId, idBox string) (interface{}, bool)

func (*Message) MessageProfileUserTalkClean

func (m *Message) MessageProfileUserTalkClean(id, deleteId string)

func (*Message) MessageProfileUserTalkGet

func (m *Message) MessageProfileUserTalkGet(cubeId, idBox string) (interface{}, bool)

func (*Message) UserMessageClean

func (m *Message) UserMessageClean(cubeId string)

func (*Message) UserMessageGet

func (m *Message) UserMessageGet(cubeId, page string) (interface{}, int64, bool)

Jump to

Keyboard shortcuts

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