writer

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResponseWriter

type ResponseWriter interface {
	// WriteResponse takes in the JSON response
	// which is either a single object, or a batch.
	// When technology goes ahead of its time and implements
	// generic methods, this interface should be changed
	// https://github.com/golang/go/issues/49085
	WriteResponse(response any)
}

ResponseWriter outlines the interface any response writer needs to implement

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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