Documentation ¶
Index ¶
- func Add(req *AddRequest) (err error)
- func Del(req *DelRequest) (err error)
- func Delay(req *DelayRequest) (err error)
- func Done(req *DoneRequest) (err error)
- func SetAuthorizeHandle(auh *asapi.AuthorizeHandle)
- func SetMQTTClient(mqcfg *MQTTConfig)
- func SetMQTTClienter(cli client.MqttClienter)
- type AddRequest
- type DelRequest
- type DelayRequest
- type DoneRequest
- type Handle
- type MQTTConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetAuthorizeHandle ¶
func SetAuthorizeHandle(auh *asapi.AuthorizeHandle)
SetAuthorizeHandle 设置授权处理
Types ¶
type AddRequest ¶
type AddRequest struct { UIDs []string BuID string TodoType string ContentValue map[string]string URIValue map[string]string PushValue map[string]string PubTime time.Time EndTime time.Time Status int Service string }
AddRequest 增加待办事项请求参数
type DelRequest ¶
DelRequest 删除待办事项请求参数
type DelayRequest ¶
DelayRequest 延期待办请求参数
type DoneRequest ¶
DoneRequest 完成待办事项请求参数
type Handle ¶
type Handle struct {
// contains filtered or unexported fields
}
Handle 待办事项处理
func NewHandle ¶
func NewHandle(auh *asapi.AuthorizeHandle, mqcli client.MqttClienter) *Handle
NewHandle 创建待办事项处理
Click to show internal directories.
Click to hide internal directories.