v1

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HistoryData

func HistoryData(data *v1pb.HistoryResp) map[string][]*model.History

HistoryData 历史数据处理

Types

type DMService

type DMService struct {
	// contains filtered or unexported fields
}

DMService struct

func NewDMService

func NewDMService(c *conf.Config) (s *DMService)

NewDMService init

func (*DMService) GetHistory

func (s *DMService) GetHistory(ctx *bm.Context, req *v1pb.HistoryReq) (resp *v1pb.HistoryResp, err error)

GetHistory implementation `method:"POST"`

func (*DMService) SendMsg

func (s *DMService) SendMsg(ctx *bm.Context, req *v1pb.SendDMReq) (resp *v1pb.SendMsgResp, err error)

SendMsg implementation `method:"POST"`

Jump to

Keyboard shortcuts

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