netip

package
v0.0.0-...-873abe3 Latest Latest
Warning

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

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

Documentation

Overview

Package netip adapts Go's net/netip value types to Goblin.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() (object.Object, error)

Types

type Addr

type Addr struct {
	object.OpaqueBase
	// contains filtered or unexported fields
}

func (*Addr) Attributes

func (a *Addr) Attributes() []string

func (*Addr) Compare

func (a *Addr) Compare(other object.Object) (int, error)

func (*Addr) Equals

func (a *Addr) Equals(other object.Object) (bool, error)

func (*Addr) GetAttr

func (a *Addr) GetAttr(name string) (object.Object, error)

func (*Addr) Not

func (a *Addr) Not() (object.Object, error)

func (*Addr) String

func (a *Addr) String() string

func (*Addr) ToBool

func (a *Addr) ToBool() (bool, error)

func (*Addr) ToString

func (a *Addr) ToString() (string, error)

type Prefix

type Prefix struct {
	object.OpaqueBase
	// contains filtered or unexported fields
}

func (*Prefix) Attributes

func (p *Prefix) Attributes() []string

func (*Prefix) Equals

func (p *Prefix) Equals(other object.Object) (bool, error)

func (*Prefix) GetAttr

func (p *Prefix) GetAttr(name string) (object.Object, error)

func (*Prefix) Not

func (p *Prefix) Not() (object.Object, error)

func (*Prefix) String

func (p *Prefix) String() string

func (*Prefix) ToBool

func (p *Prefix) ToBool() (bool, error)

func (*Prefix) ToString

func (p *Prefix) ToString() (string, error)

Jump to

Keyboard shortcuts

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