Add ConfigFlag for loading configuration through a flag.

This commit is contained in:
Alec Thomas
2018-09-11 09:56:57 +10:00
parent 3b6f48371a
commit 862837e6fa
9 changed files with 167 additions and 39 deletions
+19
View File
@@ -0,0 +1,19 @@
package kong
// BeforeResolve is a documentation-only interface describing hooks that run before values are set.
type BeforeResolve interface {
// This is not the correct signature - see README for details.
BeforeResolve(args ...interface{}) error
}
// BeforeApply is a documentation-only interface describing hooks that run before values are set.
type BeforeApply interface {
// This is not the correct signature - see README for details.
BeforeApply(args ...interface{}) error
}
// AfterApply is a documentation-only interface describing hooks that run after values are set.
type AfterApply interface {
// This is not the correct signature - see README for details.
AfterApply(args ...interface{}) error
}