apitest

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunTUI

func RunTUI(ctx context.Context, tui cli.TUI) (*bytes.Buffer, error)

Types

type Server

type Server struct {
	Host    string
	RootDir string

	URL string
	// contains filtered or unexported fields
}

func (*Server) Close

func (s *Server) Close()

func (*Server) GeneratePAT added in v0.0.1

func (s *Server) GeneratePAT(email string) (string, error)

func (*Server) IsProxy added in v0.0.1

func (s *Server) IsProxy() bool

func (*Server) Start

func (s *Server) Start(ctx context.Context) error

func (*Server) StartMock

func (s *Server) StartMock(ctx context.Context) error

func (*Server) StartProxy

func (s *Server) StartProxy(ctx context.Context) error

Jump to

Keyboard shortcuts

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