tx

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: May 4, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Boundary

type Boundary struct {
	// contains filtered or unexported fields
}

func New

func New(cfg Config, opts ...Option) *Boundary

func (*Boundary) Check

func (r *Boundary) Check(ctx *core.Context) []core.Violation

func (*Boundary) Spec

func (r *Boundary) Spec() core.RuleSpec

type Config

type Config struct {
	StartSymbols  []string
	Types         []string
	AllowedLayers []string
}

type Option

type Option func(*Boundary)

func WithSeverity

func WithSeverity(s core.Severity) Option

Jump to

Keyboard shortcuts

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