Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Attachment ¶
type Attachment struct {
// contains filtered or unexported fields
}
func NewAttachmentHandler ¶
func NewAttachmentHandler(cfg *config.Config, log *wlog.Logger, dbpool *db.Connection) *Attachment
func (*Attachment) Attachment ¶
func (a *Attachment) Attachment(w http.ResponseWriter, req *http.Request)
type Error ¶
type Error struct {
Msg string `json:"message,omitempty"`
}
Error represents an error for an end user.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) RegisterHandlers ¶
func (s *Server) RegisterHandlers(dbpool *db.Connection)
Click to show internal directories.
Click to hide internal directories.