summaryrefslogtreecommitdiffstats
path: root/services/f3/driver/options.go
blob: abc5015dd05f362363bea92d3fbb107f038ec98e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright Earl Warren <contact@earl-warren.org>
// Copyright Loïc Dachary <loic@dachary.org>
// SPDX-License-Identifier: MIT

package driver

import (
	"net/http"

	driver_options "code.gitea.io/gitea/services/f3/driver/options"

	"code.forgejo.org/f3/gof3/v3/options"
)

func newOptions() options.Interface {
	o := &driver_options.Options{}
	o.SetName(driver_options.Name)
	o.SetNewMigrationHTTPClient(func() *http.Client { return &http.Client{} })
	return o
}