Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IncreaseDeleteRequests ¶
func IncreaseDeleteRequests()
func IncreaseGetRequests ¶
func IncreaseGetRequests()
func IncreasePostRequests ¶
func IncreasePostRequests()
func IncreasePutRequests ¶
func IncreasePutRequests()
func RegisterCustomMetrics ¶
func RegisterCustomMetrics()
Types ¶
type Server ¶
type User ¶
type User struct { Name string `json:"name"` Surname string `json:"surname"` Age int `json:"age"` BestMovies map[string]string `json:"bestMovies"` // key: genre - value: title Hobbies []string `json:"hobbies"` }
WARN: remember to expose all fields externally, otherwise the json marshaler won't be able to find and use them
Click to show internal directories.
Click to hide internal directories.