service

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSctpConfig added in v1.2.1

func NewSctpConfig(cfg *factory.Sctp) *sctp.SocketConfig

func Run

func Run(addresses []string, port int, handler NGAPHandler, sctpConfig *sctp.SocketConfig)

func Stop

func Stop()

Types

type NGAPHandler

type NGAPHandler struct {
	HandleMessage         func(conn net.Conn, msg []byte)
	HandleNotification    func(conn net.Conn, notification sctp.Notification)
	HandleConnectionError func(conn net.Conn)
}

Jump to

Keyboard shortcuts

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