Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 496 Bytes

File metadata and controls

30 lines (21 loc) · 496 Bytes

NF-Example

This repository is a sample NF for a simple HTTP service! Try adding more services and learn how to collaborate using GitHub.

Compile & Run

make
./bin/nf -c config/nfcfg.yaml

Try Service

> curl -X GET http://127.0.0.163:8000/default/
"Hello free5GC!"

> curl -X GET http://127.0.0.163:8000/spyfamily/
"Hello SPYxFAMILY!"

> curl -X GET http://127.0.0.163:8000/spyfamily/character/Loid
"Character: Loid Forger"

Go Test

> go test -v ./...