protobuf

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package protobuf registers the Protobuf renderer with the stripes registry. Import for side effects to enable application/protobuf support:

import _ "github.com/firetiger-oss/stripes/protobuf"

For application/protobuf, stripes.Func's schemaURL argument is interpreted as the full message name used to look up the descriptor in protoregistry.GlobalTypes / protoregistry.GlobalFiles. Without a resolvable schema, the renderer falls back to wire-format display.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New returns a stripes.Renderer for protobuf messages. When d is nil the renderer displays the raw wire format; otherwise it decodes against the descriptor d, resolving nested message types through t.

Types

This section is empty.

Jump to

Keyboard shortcuts

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