Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HelloHandler ¶
func NewHandler ¶
func NewHandler(s hello.Sayer) *HelloHandler
DIG injection function Parameter of type hello.Sayer signals that we're dependent on it and it will be automatically provided by the graph
func (*HelloHandler) ServeHTTP ¶
func (h *HelloHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.