view

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

This file provides utilities for running views with timeout support. RunViewWithTimeout wraps view execution with context-based timeout handling.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunView

func RunView(logger logging.Logger, context view.Context, view view.View, opts ...view.RunViewOption)

RunView runs passed view within the passed Context and using the passed options in a separate goroutine

func RunViewWithTimeout

func RunViewWithTimeout(ctx view.Context, v view.View, timeout time.Duration, opts ...view.RunViewOption) (any, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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