package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Dec 21, 2022
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Handler manages the endpoints implementations.
func (*Handler) Get ¶
Get request for getting crypto prizes.
func (*Handler) Health ¶
added in
v0.1.1
Health returns service status.
type Response struct {
Name string `json:"name"`
Price float32 `json:"price"`
}
Response stores data of user request result.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.