gitlabstub

package
v1.61.1 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUnstartedServer

func NewUnstartedServer(opts ...Option) (*httptest.Server, error)

Types

type Option

type Option func(*config)

func WithCertificate

func WithCertificate(cert tls.Certificate) Option

func WithDelay

func WithDelay(delay time.Duration) Option

func WithPagesHandler

func WithPagesHandler(ph http.HandlerFunc) Option

func WithPagesRoot

func WithPagesRoot(pagesRoot string) Option

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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