Help us shape the future of Go! Take the 2026 Go Developer Survey

common

package
v6.9.3 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendSSEEventBytes

func AppendSSEEventBytes(out []byte, event string, payload []byte, trailingNewlines int) []byte

func AppendSSEEventString

func AppendSSEEventString(out []byte, event, payload string, trailingNewlines int) []byte

func ClaudeInputTokensJSON

func ClaudeInputTokensJSON(count int64) []byte

func GeminiTokenCountJSON

func GeminiTokenCountJSON(count int64) []byte

func SSEEventData

func SSEEventData(event string, payload []byte) []byte

func WrapGeminiCLIResponse

func WrapGeminiCLIResponse(response []byte) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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