rest

package
v0.0.0-...-e571af8 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	HostAndPort             string `default:":8080"`
	BasePath                string `default:"/obolary/1.0"`
	TransportMaxIdleConns   int    `default:"256"`
	TransportMaxTries       int    `default:"3"`
	TransportRequestTimeout int    `default:"60"`
}

func Config

func Config() *Configuration

type Context

type Context struct {
	URL         string
	AccessToken string
	ContentType string
}

Jump to

Keyboard shortcuts

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