目录
部署步骤
- 获取 API Service 项目,该项目是通过 openapi-generator 生成的。
git clone https://github.com/JmilkFan/Npcf_PolicyAuthorization-PostAppSessions.git
-
安装 Golang
-
安装项目环境依赖
go get -v -u github.com/gorilla/mux
- 编辑 API Service 的 Socket
# vi main.go
/*
* Npcf_PolicyAuthorization Service API
*
* This is the Policy Authorization Service
*
* API version: 1.0.0
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package main
im