configtest

package
v0.0.0-...-a1758a3 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTestConfig

func NewTestConfig(t *testing.T) (string, *config.Config)

NewTestConfig creates a new config.Config that can be used for testing. Like NewTestConfigWithHostname, but only for localhost.

func NewTestConfigWithHostname

func NewTestConfigWithHostname(t *testing.T, hostname string) (string, *config.Config)

NewTestConfigWithHostname creates a new config.Config that can be used for testing. It creates a temporary clipboard directory and even generates a self-signed cert (issued to the given hostname).

Types

This section is empty.

Jump to

Keyboard shortcuts

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