apitest

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunTTY added in v0.0.8

func RunTTY(ctx context.Context, ui cli.UI) (*bytes.Buffer, error)

func UnusedPort added in v0.0.8

func UnusedPort() (string, error)

Types

type Server

type Server struct {
	Host    string
	RootDir string

	URL       string
	RailsPort 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