tests

package
v1.2.85 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Config

func Config() configs.Config

func Setup

func Setup(service services.Service, options ...Option) (err error)

Setup use local config

func TODO

func TODO() context.Context

func Teardown

func Teardown()

Types

type Option

type Option func(options *Options) (err error)

func WithConfig

func WithConfig(config configs.Config) Option

func WithConfigActive

func WithConfigActive(active string) Option

func WithConfigRetriever

func WithConfigRetriever(path string, format string, active string, prefix string, splitter byte) Option

func WithDependence

func WithDependence(dep ...services.Service) Option

func WithTransport

func WithTransport(transport transports.Transport) Option

type Options

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

Jump to

Keyboard shortcuts

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