This repository has been archived by the owner on Jul 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release 4.2.1. Gotta remember to build.
- Loading branch information
jeff
committed
Sep 15, 2017
1 parent
8304418
commit 9b07a25
Showing
8 changed files
with
72 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import * as cassava from "cassava"; | ||
export declare class HealthCheckRoute implements cassava.routes.Route { | ||
private readonly path; | ||
private readonly checks; | ||
/** | ||
* @param path Exact path to respond on. | ||
* @param checks map of check name to function that returns a Promise of check result | ||
*/ | ||
constructor(path?: string, checks?: { | ||
[key: string]: () => Promise<string>; | ||
}); | ||
matches(evt: cassava.RouterEvent): boolean; | ||
handle(evt: cassava.RouterEvent): Promise<cassava.RouterResponse>; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
import * as jwtauth from "./jwtauth"; | ||
import * as secureConfig from "./secureConfig"; | ||
export { jwtauth, secureConfig }; | ||
import { HealthCheckRoute } from "./HealthCheckRoute"; | ||
export { jwtauth, secureConfig, HealthCheckRoute }; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
import * as jwtauth from "./jwtauth"; | ||
import * as secureConfig from "./secureConfig"; | ||
export {jwtauth, secureConfig}; | ||
import {HealthCheckRoute} from "./HealthCheckRoute"; | ||
|
||
export {jwtauth, secureConfig, HealthCheckRoute}; |