Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Serve ¶
func Serve(settings *GoficheSettings)
Serve starts the gofiche server and listens for incoming connections on the specified port
Types ¶
type CounterHandler ¶
type CounterHandler struct {
// contains filtered or unexported fields
}
Each time the URL is visited, a counter is incremented and the value is returned.
func (*CounterHandler) Increment ¶
func (ct *CounterHandler) Increment()
Increment increases the counter
type GoficheSettings ¶
Click to show internal directories.
Click to hide internal directories.