//
pkg.gl
Category
github.com/ibiscum/Go-Programming-Cookbook-Second-Edition
chapter08
internal
controllers
package
0.0.0-20241212173216-745cb4b42230
Repository:
https://github.com/ibiscum/go-programming-cookbook-second-edition.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
1
Files
76 SLOC
#
Functions
New
New is a Controller 'constructor'.
#
Structs
Controller
Controller passes state to our handlers.
MemStorage
MemStorage implements Storage.
Payload
Payload is our common response.
#
Interfaces
Storage
Storage Interface Supports Get and Put of a single value.