mock

package
v1.63.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2025 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Copyright 2025 SGNL.ai, Inc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNoOpSSRFValidator

func NewNoOpSSRFValidator() validation.SSRFValidator

NewNoOpSSRFValidator creates a new NoOpSSRFValidator.

Types

type NoOpSSRFValidator

type NoOpSSRFValidator struct{}

NoOpSSRFValidator is a validator that allows all URLs. This is intended for testing purposes only.

func (*NoOpSSRFValidator) ValidateExternalURL

func (v *NoOpSSRFValidator) ValidateExternalURL(_ context.Context, _ string) error

ValidateExternalURL always returns nil, allowing all URLs.

Jump to

Keyboard shortcuts

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