apitest

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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