Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuntConnect ¶
BuntConnect connects to database BuntDB - used for caching
func BuntGet ¶
func BuntGet(key string, w http.ResponseWriter) (cacheExist bool)
BuntGet downloads the data - if any - that is in the buntdb (embedded cache database) using response.URL.String() as key
func BuntSet ¶
func BuntSet(key, value string)
BuntSet sets data as cache in buntdb (embedded cache database) using response.URL.String() as key
func EndpointRules ¶
EndpointRules checks if there is a custom caching rule for the endpoint
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.