Documentation ¶
Index ¶
- Variables
- func Dump(obj interface{}) []byte
- type GetHealthResponse
- type IncomingMessageRequest
- type PostSubscribeRequest
- type PostSubscribeResponse
- type Server
- func (s *Server) GetHealth(w http.ResponseWriter, r *http.Request)
- func (s *Server) ListenAndServe(addr string) error
- func (s *Server) PostIncomingMessage(w http.ResponseWriter, r *http.Request)
- func (s *Server) PostSubscribe(w http.ResponseWriter, r *http.Request)
- func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultTimeZone = "America/Los_Angeles"
Functions ¶
Types ¶
type GetHealthResponse ¶
type GetHealthResponse struct {
OK bool `json:"ok"`
}
type IncomingMessageRequest ¶
type PostSubscribeRequest ¶
type PostSubscribeResponse ¶
type Server ¶
type Server struct { DefaultTimeZone string // contains filtered or unexported fields }
func (*Server) ListenAndServe ¶
func (*Server) PostIncomingMessage ¶
func (s *Server) PostIncomingMessage(w http.ResponseWriter, r *http.Request)
func (*Server) PostSubscribe ¶
func (s *Server) PostSubscribe(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.