MCPcopy Create free account
hub / github.com/bailicangdu/node-elm / constructor

Method constructor

controller/v1/cities.js:9–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7
8class CityHandle extends AddressComponent{
9 constructor(){
10 super()
11 this.getCity = this.getCity.bind(this);
12 this.getExactAddress = this.getExactAddress.bind(this);
13 this.pois = this.pois.bind(this);
14 }
15 async getCity(req, res, next){
16 const type = req.query.type;
17 let cityInfo;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected