command
module
Version:
v1.2.18
Opens a new window with list of versions in this module.
Published: Jan 9, 2025
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
xctrl - XSwitch XCC API Go 语言 SDK
小樱桃在用的Go语言SDK 1.2,API更规范,推荐升级。
关于Go语言SDK 旧版的代码和说明文档:
以下是其他相关链接:
目录结构:
- ctrl:节点管理
- tboy 是一个冒牌的的FreeSWITCH,用于测试
- consitent 多节点一致性hash管理器,用于多个FreeSWITCH的hash节点获取,文档参见hash节点文档
使用
go mod init main
go get git.xswitch.cn/xswitch/proto/go/proto/xctrl
go get git.xswitch.cn/xswitch/xctrl
# 创建 main.go,并运行
go run main.go
开发
- 克隆该项目到本地:
git clone https://git.xswitch.cn/xswitch/xctrl.git
cd xctrl
测试
go run main.go
make test
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
|
|
|
|
nats
Package nats provides a NATS Conn
|
Package nats provides a NATS Conn |
|
|
example
|
|
|
|
|
|
|
|
|
|
pkg
|
|
|
|
Package snowflake provides a very simple Twitter snowflake generator and parser.
|
Package snowflake provides a very simple Twitter snowflake generator and parser. |
|
|
|
|
Click to show internal directories.
Click to hide internal directories.