jsonapi

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControlURI

type ControlURI struct {
	url.URL
}

func (ControlURI) MarshalJSON

func (u ControlURI) MarshalJSON() ([]byte, error)

func (*ControlURI) UnmarshalText

func (u *ControlURI) UnmarshalText(text []byte) error

type Fteid added in v0.0.15

type Fteid struct {
	Addr netip.Addr `json:"addr"`
	Teid uint32     `json:"teid"`
}

func NewFteid added in v0.0.15

func NewFteid(addr netip.Addr, teid uint32) *Fteid

type Message added in v0.0.3

type Message struct {
	Message string
}

type MessageWithError added in v0.0.3

type MessageWithError struct {
	Message string `json:"message"`
	Error   error  `json:"error"`
}

func (MessageWithError) MarshalJSON added in v0.0.14

func (u MessageWithError) MarshalJSON() ([]byte, error)

func (*MessageWithError) UnmarshalJSON added in v0.0.14

func (u *MessageWithError) UnmarshalJSON(data []byte) error

Directories

Path Synopsis
Package n1n2 allow to simulate N1/N2 interface using a REST API.
Package n1n2 allow to simulate N1/N2 interface using a REST API.
Package n4tosrv6 allow to translate PFCP Rules into SRv6.
Package n4tosrv6 allow to translate PFCP Rules into SRv6.

Jump to

Keyboard shortcuts

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