file

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2025 License: Apache-2.0 Imports: 9 Imported by: 17

Documentation

Overview

Package file is the file source for orb/config.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() source.Source

New creates a new file source for config.

Types

type Source

type Source struct{}

Source is the file source for config.

func (*Source) Read

func (s *Source) Read(u *url.URL) (map[string]any, error)

func (*Source) Schemes

func (s *Source) Schemes() []string

Schemes returns the supported schemes for this source.

func (*Source) String

func (s *Source) String() string

String returns the name of the source.

Jump to

Keyboard shortcuts

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