xctrl

command module
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: MIT Imports: 6 Imported by: 0

README

xctrl - XSwitch XCC API Go 语言 SDK

小樱桃在用的Go语言SDK 1.1,API更规范,推荐升级。旧的1.0版代码和文档见这里

目录结构:

  • 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

开发

  1. 克隆该项目到本地:
git clone https://git.xswitch.cn/xswitch/xctrl.git
cd xctrl

测试

go run main.go
make test

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
bus
nats
Package nats provides a NATS Conn
Package nats provides a NATS Conn
example
inbound Module
pkg
Package snowflake provides a very simple Twitter snowflake generator and parser.
Package snowflake provides a very simple Twitter snowflake generator and parser.

Jump to

Keyboard shortcuts

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