Documentation
¶
Index ¶
- Variables
- type API
- func (api *API) AddToCacheHandler(w http.ResponseWriter, req bunrouter.Request) error
- func (api *API) GetFromCacheHandler(w http.ResponseWriter, req bunrouter.Request) error
- func (api *API) MetricsHandler() http.HandlerFunc
- func (api *API) USSDProxyHandler() http.HandlerFunc
- func (api *API) UpdateCacheHandler(w http.ResponseWriter, req bunrouter.Request) error
- type Opts
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrDuplicate = errors.New("duplicate record")
)
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func (*API) AddToCacheHandler ¶
func (*API) GetFromCacheHandler ¶
func (*API) MetricsHandler ¶
func (api *API) MetricsHandler() http.HandlerFunc
func (*API) USSDProxyHandler ¶
func (api *API) USSDProxyHandler() http.HandlerFunc
func (*API) UpdateCacheHandler ¶
Click to show internal directories.
Click to hide internal directories.