Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func New ¶
func New(storage Storage) *Controller
func (*Controller) GetValue ¶
func (c *Controller) GetValue(UseDefault bool) http.HandlerFunc
func (*Controller) SetValue ¶
func (c *Controller) SetValue(w http.ResponseWriter, r *http.Request)
type MemStorage ¶
type MemStorage struct {
// contains filtered or unexported fields
}
func (*MemStorage) Get ¶
func (m *MemStorage) Get() string
func (*MemStorage) Put ¶
func (m *MemStorage) Put(s string)
Click to show internal directories.
Click to hide internal directories.