configure

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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

Types

type Configure

type Configure struct {
	Data    string
	Version string
}

type Option

type Option func(o *options)

func WithAddr added in v1.0.11

func WithAddr(addr string) Option

func WithContext

func WithContext(context context.Context) Option

func WithServer added in v1.0.11

func WithServer(server string) Option

func WithToken added in v1.0.11

func WithToken(token string) Option

Jump to

Keyboard shortcuts

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