|
@@ -139,11 +139,19 @@ func (b *Builder) SubjectsFunc(v SubjectsFunc) (r *Builder) {
|
|
return b
|
|
return b
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+func (b *Builder) GetSubjectsFunc() SubjectsFunc {
|
|
|
|
+ return b.subjectsFunc
|
|
|
|
+}
|
|
|
|
+
|
|
func (b *Builder) ContextFunc(v ContextFunc) (r *Builder) {
|
|
func (b *Builder) ContextFunc(v ContextFunc) (r *Builder) {
|
|
b.contextFunc = v
|
|
b.contextFunc = v
|
|
return b
|
|
return b
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+func (b *Builder) GetContextFunc() ContextFunc {
|
|
|
|
+ return b.contextFunc
|
|
|
|
+}
|
|
|
|
+
|
|
func (b *Builder) DBPolicy(dpb *DBPolicyBuilder) (r *Builder) {
|
|
func (b *Builder) DBPolicy(dpb *DBPolicyBuilder) (r *Builder) {
|
|
b.dbPolicy = dpb
|
|
b.dbPolicy = dpb
|
|
|
|
|