http

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2026 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrUnauthorizedTokenRequest

type ErrUnauthorizedTokenRequest string

func (*ErrUnauthorizedTokenRequest) Error

type Source

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

func New

func New(ds types.DataSource, attached bool) (*Source, error)

func (*Source) Attach

func (s *Source) Attach(ctx context.Context, db *db.Pool) (err error)

func (*Source) CatalogSource

func (s *Source) CatalogSource(ctx context.Context, db *db.Pool) (cs.Catalog, error)

func (*Source) CompileOptions added in v0.3.0

func (s *Source) CompileOptions() compiler.Options

func (*Source) Definition

func (s *Source) Definition() types.DataSource

func (*Source) DefinitionExtensions added in v0.3.0

func (s *Source) DefinitionExtensions(ctx context.Context, name string) iter.Seq[*ast.Definition]

func (*Source) Definitions added in v0.3.0

func (s *Source) Definitions(ctx context.Context) iter.Seq[*ast.Definition]

func (*Source) Description added in v0.3.0

func (s *Source) Description() string

func (*Source) Detach

func (s *Source) Detach(ctx context.Context, db *db.Pool) error

func (*Source) DirectiveDefinitions added in v0.3.0

func (s *Source) DirectiveDefinitions(ctx context.Context) iter.Seq2[string, *ast.DirectiveDefinition]

func (*Source) DirectiveForName added in v0.3.0

func (s *Source) DirectiveForName(ctx context.Context, name string) *ast.DirectiveDefinition

func (*Source) Engine

func (s *Source) Engine() engines.Engine

func (*Source) Extensions added in v0.3.0

func (s *Source) Extensions(ctx context.Context) iter.Seq[*ast.Definition]

func (*Source) ForName added in v0.3.0

func (s *Source) ForName(ctx context.Context, name string) *ast.Definition

func (*Source) IsAttached

func (s *Source) IsAttached() bool

func (*Source) Name

func (s *Source) Name() string

func (*Source) ReadOnly

func (s *Source) ReadOnly() bool

func (*Source) Reload

func (s *Source) Reload(ctx context.Context) error

func (*Source) Request

func (s *Source) Request(ctx context.Context, path, method, headers, params, body string) (*http.Response, error)

func (*Source) Version added in v0.3.0

func (s *Source) Version(_ context.Context) (string, error)

Jump to

Keyboard shortcuts

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