Skip to content

Commit

Permalink
feat!: namesys refactor, ipns TTL bubbled up to gateway (#459)
Browse files Browse the repository at this point in the history
This commit was moved from ipfs/boxo@a50f784
  • Loading branch information
hacdias authored Oct 18, 2023
1 parent 4a25d55 commit edfc5ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 134 deletions.
6 changes: 3 additions & 3 deletions core/coreiface/coreiface/options/name.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package options
import (
"time"

ropts "github.com/ipfs/boxo/coreiface/options/namesys"
"github.com/ipfs/boxo/namesys"
)

const (
Expand All @@ -21,7 +21,7 @@ type NamePublishSettings struct {
type NameResolveSettings struct {
Cache bool

ResolveOpts []ropts.ResolveOpt
ResolveOpts []namesys.ResolveOption
}

type (
Expand Down Expand Up @@ -123,7 +123,7 @@ func (nameOpts) Cache(cache bool) NameResolveOption {
}
}

func (nameOpts) ResolveOption(opt ropts.ResolveOpt) NameResolveOption {
func (nameOpts) ResolveOption(opt namesys.ResolveOption) NameResolveOption {
return func(settings *NameResolveSettings) error {
settings.ResolveOpts = append(settings.ResolveOpts, opt)
return nil
Expand Down
131 changes: 0 additions & 131 deletions core/coreiface/coreiface/options/namesys/opts.go

This file was deleted.

0 comments on commit edfc5ef

Please sign in to comment.