WithMethodPrefix filters methods by name prefix
(prefix string)
| 29 | |
| 30 | // WithMethodPrefix filters methods by name prefix |
| 31 | func WithMethodPrefix(prefix string) ReflectOption { |
| 32 | return func(opts *ReflectOptions) { |
| 33 | opts.MethodPrefix = prefix |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | // WithIgnoredMethods specifies method names to skip during binding |
| 38 | func WithIgnoredMethods(methods ...string) ReflectOption { |
no outgoing calls