providers

package
v0.0.0-...-f1baeaf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2026 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

SPDX-License-Identifier: AGPL-3.0-or-later

SPDX-License-Identifier: AGPL-3.0-or-later

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileStore

type FileStore struct {
	// contains filtered or unexported fields
}

func NewFileStore

func NewFileStore(dir string) (*FileStore, error)

func (*FileStore) Get

func (s *FileStore) Get(key string) ([]byte, bool)

func (*FileStore) Put

func (s *FileStore) Put(key string, val []byte) error

func (*FileStore) PutReader

func (s *FileStore) PutReader(key string, r io.Reader) error

type Provider

type Provider struct{}

func Wire

func Wire() (*Provider, error)

func (*Provider) CC026TraceRoot

func (p *Provider) CC026TraceRoot(fedID string, height int64) (string, bool, error)

Used by SetChainRootProvider in your mains. Return ok=false until you implement the real call-out.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL