mirror of https://github.com/status-im/consul.git
9 lines
295 B
JavaScript
9 lines
295 B
JavaScript
|
export default function (visitable) {
|
||
|
return {
|
||
|
visit: visitable('/:dc/peers/:peer'),
|
||
|
visitExported: visitable('/:dc/peers/:peer/exported-services'),
|
||
|
visitImported: visitable('/:dc/peers/:peer/imported-services'),
|
||
|
visitAddresses: visitable('/:dc/peers/:peer/addresses'),
|
||
|
};
|
||
|
}
|