Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RegoOption ¶
type RegoRouter ¶
type RegoRouter struct {
// contains filtered or unexported fields
}
func New ¶
func New(name, module string, options ...RegoRouterOption) (_ *RegoRouter, err error)
type RegoRouterOption ¶
type RegoRouterOption func(r *RegoRouter) error
func WithBodyLimit ¶ added in v0.0.21
func WithBodyLimit(limit int64) RegoRouterOption
func WithData ¶
func WithData(dataReader io.Reader) RegoRouterOption
func WithOption ¶
func WithOption(option RegoOption) RegoRouterOption
Click to show internal directories.
Click to hide internal directories.