github.com/maresnic/mr-kong@v1.0.0/hooks.go (about) 1 package kong 2 3 // BeforeResolve is a documentation-only interface describing hooks that run before resolvers are applied. 4 type BeforeResolve interface { 5 // This is not the correct signature - see README for details. 6 BeforeResolve(args ...interface{}) error 7 } 8 9 // BeforeApply is a documentation-only interface describing hooks that run before values are set. 10 type BeforeApply interface { 11 // This is not the correct signature - see README for details. 12 BeforeApply(args ...interface{}) error 13 } 14 15 // AfterApply is a documentation-only interface describing hooks that run after values are set. 16 type AfterApply interface { 17 // This is not the correct signature - see README for details. 18 AfterApply(args ...interface{}) error 19 }