links

package
v1.32.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package links provides validation helpers for temporal.api.common.v1.Link values.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(links []*commonpb.Link, maxAllowedLinks, maxSize int) error

Validate checks that the given links do not exceed the configured count and per-link size limits, and that each link's variant has its required fields populated. nolint:revive // cognitive-complexity is high but justified to keep each case together for readability.

Types

This section is empty.

Jump to

Keyboard shortcuts

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