sobot

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dao

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

Dao it

func New

func New(c *conf.Config) (d *Dao)

New Dao

func (*Dao) SobotAddReply

func (d *Dao) SobotAddReply(c context.Context, rp *sobot.ReplyParam) (err error)

SobotAddReply add reply to sobot

func (*Dao) SobotAddTicket

func (d *Dao) SobotAddTicket(c context.Context, tp *sobot.TicketParam) (err error)

SobotAddTicket add ticket to sobot

func (*Dao) SobotTicketInfo

func (d *Dao) SobotTicketInfo(c context.Context, ticketID int32) (res json.RawMessage, err error)

SobotTicketInfo get ticket into

func (*Dao) SobotTicketModify

func (d *Dao) SobotTicketModify(c context.Context, tp *sobot.TicketParam) (err error)

SobotTicketModify modify ticket

Jump to

Keyboard shortcuts

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