Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KitJSONDecodeFunc ¶
KitJSONDecodeFunc decode json http request to endpoint request
func KitJSONEncodeFunc ¶
func KitJSONEncodeFunc(w http.ResponseWriter, response interface{}) error
KitJSONEncodeFunc encode endpoint response to json
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config keep service configuration parameters
func (*Config) GetMetricPath ¶
GetMetricPath return path that can be used for request metric information
Click to show internal directories.
Click to hide internal directories.