Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidSlackRequest = errors.New("invalid slack request")
Functions ¶
Types ¶
type APIHandlerFunc ¶
type APIHandlerFunc func(http.ResponseWriter, *http.Request) error
type ErrorResponse ¶
type ErrorResponse struct {
Message string `json:"message"`
}
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(logger *log.Logger, redisClient *redis.Client, articleStorage floridaman.ArticleStorage) *Server
Click to show internal directories.
Click to hide internal directories.