Documentation
¶
Index ¶
Constants ¶
View Source
const ( SuccessEmptyResponse = "success" EchoStr = "echostr" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server 公众账号服务端
func New ¶
func New(account contracts.AccountInterface) *Server
func (*Server) Dispatch ¶
func (sg *Server) Dispatch( request *http.Request, writer http.ResponseWriter, handler contracts.EventHandlerInterface, )
Dispatch 直接调度事件处理
Click to show internal directories.
Click to hide internal directories.