Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Serve ¶
func Serve(da dataaccess.DataAccess)
Types ¶
type CallbackHandler ¶
type CallbackHandler struct {
DataAccess dataaccess.DataAccess
}
The CallbackHandler handles requests for /callback
func NewCallbackHandler ¶
func NewCallbackHandler(da dataaccess.DataAccess) *CallbackHandler
NewCallbackHandler creates an instance of the callback handler.
func (CallbackHandler) ServeHTTP ¶
func (cbh CallbackHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.