configure

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts ...Option) (config.Source, error)

Types

type Configure

type Configure struct {
	Data    string
	Version string
}

type Option

type Option func(o *options)

func WithBody

func WithBody(body map[string]interface{}) Option

func WithContext

func WithContext(ctx context.Context) Option

WithContext context with configure context.

func WithMethod

func WithMethod(m string) Option

func WithURL

func WithURL(u string) Option

WithURL http server url

Jump to

Keyboard shortcuts

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