http

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Overview

Package http provides the http source for the config.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() source.Source

New creates a new http source for config.

Types

type Source

type Source struct{}

Source is the http source for config.

func (*Source) PrependSections

func (s *Source) PrependSections() bool

PrependSections returns whetever this source needs sections to be prepended.

func (*Source) Read

func (s *Source) Read(myURL *url.URL) source.Data

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