Documentation ¶
Index ¶
- type Server
- func (srv *Server) GetOpenID() string
- func (srv *Server) MessageForward()
- func (srv *Server) MessageForwardSend(postUrl string, retryNum *int)
- func (srv *Server) Send() (err error)
- func (srv *Server) Serve() error
- func (srv *Server) SetMessageForward(url string, token string)
- func (srv *Server) SetMessageHandler(handler func(message.MixMessage) *message.Reply)
- func (srv *Server) Validate() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
Server struct
func (*Server) MessageForward ¶
func (srv *Server) MessageForward()
func (*Server) MessageForwardSend ¶
func (*Server) SetMessageForward ¶
func (*Server) SetMessageHandler ¶
func (srv *Server) SetMessageHandler(handler func(message.MixMessage) *message.Reply)
SetMessageHandler 设置用户自定义的回调方法
Click to show internal directories.
Click to hide internal directories.