Skip to content

Commit

Permalink
fix: Make OFREP option public (#536)
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Poignant <[email protected]>
  • Loading branch information
thomaspoignant authored Jul 26, 2024
1 parent 7c65a54 commit b005dce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions providers/ofrep/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ type Provider struct {
evaluator Evaluator
}

type option func(*outbound.Configuration)
type Option func(*outbound.Configuration)

// NewProvider returns an OFREP provider configured with provided configuration.
// The only mandatory configuration is the baseUri, which is the base path of the OFREP service implementation.
func NewProvider(baseUri string, options ...option) *Provider {
func NewProvider(baseUri string, options ...Option) *Provider {
cfg := outbound.Configuration{
BaseURI: baseUri,
}
Expand Down

0 comments on commit b005dce

Please sign in to comment.