localapiclient

package module
v0.0.0-...-1b4bf90 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BugReportLocalApi

type BugReportLocalApi struct{}

func (BugReportLocalApi) GetBugReportID

func (b BugReportLocalApi) GetBugReportID(bugReportChan chan<- string, h *localapi.Handler, fallbackLog string) (*LocalApiResponseWriter, error)

type LocalApi

type LocalApi interface {
	GetBugReportID(result chan<- string, h *localapi.Handler, fallbackLog string) (LocalApiResponseWriter, error)
}

type LocalApiResponseWriter

type LocalApiResponseWriter struct {
	// contains filtered or unexported fields
}

LocalApiResponseWriter is our custom implementation of http.ResponseWriter

func (*LocalApiResponseWriter) Body

func (w *LocalApiResponseWriter) Body() []byte

func (*LocalApiResponseWriter) Header

func (w *LocalApiResponseWriter) Header() http.Header

func (*LocalApiResponseWriter) StatusCode

func (w *LocalApiResponseWriter) StatusCode() int

func (*LocalApiResponseWriter) Write

func (w *LocalApiResponseWriter) Write(data []byte) (int, error)

Write writes the data to the response body and will send the data to Java.

func (*LocalApiResponseWriter) WriteHeader

func (w *LocalApiResponseWriter) WriteHeader(statusCode int)

Jump to

Keyboard shortcuts

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