Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTestConfig ¶ added in v0.0.12
func NewTestConfig(t *testing.T, opts ...TestConfigOption) app.AppConfig
NewTestConfig creates a new test config with sensible defaults This follows the functional options pattern for easy customization
Types ¶
type TestConfigOption ¶ added in v0.0.12
TestConfigOption is a function that modifies a test config
func WithSigner ¶ added in v0.0.12
func WithSigner(signer principal.Signer) TestConfigOption
WithSigner sets the identity signer
func WithUploadServiceURL ¶ added in v0.0.12
func WithUploadServiceURL(uploadURL *url.URL) TestConfigOption
WithUploadServiceURL sets the upload service URL
Click to show internal directories.
Click to hide internal directories.