encoder

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Encoder

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

Encoder defines a path and query param encoder that plays nicely with the Polygon REST API.

func New

func New() *Encoder

New returns a new path and query param encoder.

func (*Encoder) EncodeParams

func (e *Encoder) EncodeParams(path string, params any) (string, error)

EncodeParams encodes path and query params and returns a valid request URI.

Jump to

Keyboard shortcuts

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