Archived
1
This repository has been archived on 2022-11-04. You can view files and clone it, but cannot push or open issues or pull requests.
wind8_fetcher/api/exported.go
2017-10-27 07:45:21 +04:00

24 lines
413 B
Go

package api
import (
// local
"lab.pztrn.name/fat0troll/wind8_fetcher/lib/appcontext"
// actions
"lab.pztrn.name/fat0troll/wind8_fetcher/api/fetch_request"
)
var (
c *appcontext.Context
)
// Initialize prepares API endpoints to initialization
func Initialize(ac *appcontext.Context) {
c = ac
}
// InitializeEndpoints initializes API endpoints
func InitializeEndpoints() {
fetchrequest.Initialize(c)
}