Documentation ¶
Index ¶
- func RunGRPCServer(registerServer func(server *grpc.Server))
- func RunGRPCServerOnAddr(addr string, registerServer func(server *grpc.Server))
- func RunHTTPServer(createHandler func(router chi.Router) http.Handler)
- func RunHTTPServerOnAddr(addr string, createHandler func(router chi.Router) http.Handler)
- type PfcpConfig
- type PfcpHandleFunc
- type PfcpService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunGRPCServer ¶
func RunGRPCServerOnAddr ¶
Types ¶
type PfcpConfig ¶
type PfcpConfig struct { // configure for common Mtu int `json:"mtu"` MaxFailureCount int `json:"maxFailureCount"` T3 time.Duration `json:"t3"` N3 int `json:"n3"` Heartbeat bool `json:"heartbeat"` HeartbeatPeriod time.Duration `json:"heartbeatPeriod"` // configure for pfcp service ServiceEndPoint string `json:"serviceEndPoint"` }
var DefaultPfcpCfg PfcpConfig
func NewPfcpConfigure ¶
func NewPfcpConfigure() *PfcpConfig
type PfcpHandleFunc ¶
type PfcpService ¶
func NewPfcpService ¶
func NewPfcpService(config *PfcpConfig, handleFunc PfcpHandleFunc) (PfcpService, error)
NewPfcpService endPoint: ip:port, for example: :8008, 127.0.0.1:8008
Click to show internal directories.
Click to hide internal directories.