protojson

package
v0.14.6 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2025 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

Handler is the handler implementation for handling protoJSON requests and responses

func NewHandler

func NewHandler(
	mode *goflagsmode.Flag,
	rawErrorHandler gonethttphandler.RawErrorHandler,
) (*Handler, error)

NewHandler creates a new protoJSON handler

Parameters:

  • mode: the flag mode
  • rawErrorHandler: the raw error handler for the responses handler

Returns:

  • *Handler: the created protoJSON handler
  • error: the error if any

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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