Discover Packages
git.golaxy.org/plugins
package
module
Version:
v0.1.25
Opens a new window with list of versions in this module.
Published: Jan 22, 2024
License: LGPL-2.1
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
README
README
¶
plugins
Golaxy分布式服务开发框架的官方插件,以插件形式提供一些分布式服务依赖的特性。
本包提供的所有特性如下:
消息队列与事件驱动架构(MQ and Broker),基于NATS。
服务发现(Service Discovery),基于Etcd或Redis。
分布式锁(Distributed Sync),基于Etcd或Redis。
GTP协议(Golaxy Transfer Protocol),适用于长连接、实时通信的工作场景,需要工作在可靠网络协议(TCP/KCP)之上,支持链路加密、链路鉴权、断线续连等特性。
GTP协议网关和客户端(GTP Gate and Client)。
GAP协议(Golaxy Application Protocol),适用于开发应用层通信消息,需要工作在GTP协议或MQ之上,支持消息判重,解决了幂等性问题。
分布式服务支持(Distributed Service)。
RPC支持(Remote Procedure Call)。
日志(Logger)。
Install
go get -u git.golaxy.org/plugins
Expand ▾
Collapse ▴
Documentation
¶
Package plugins GOLAXY分布式服务框架内置的一些插件。
如果插件间需要相互引用,那么可以将插件需要暴露的接口、结构、常量与枚举定义等,放在在同一个包内。但是不建议采用该方式,组件间应该尽量保持独立或单向依赖。
Source Files
¶
Directories
¶
+k8s:deepcopy-gen=package
+k8s:deepcopy-gen=package
Package gap Golaxy应用层协议(golaxy application protocol),适用于开发应用层通信消息,需要工作在GTP协议或MQ之上,支持消息判重,解决了幂等性问题。
Package gap Golaxy应用层协议(golaxy application protocol),适用于开发应用层通信消息,需要工作在GTP协议或MQ之上,支持消息判重,解决了幂等性问题。
Package gtp Golaxy传输层协议(golaxy transfer protocol),适用于长连接、实时通信的工作场景,需要工作在可靠网络协议(tcp/kcp)之上,支持链路加密、链路鉴权、断线续连等特性。
Package gtp Golaxy传输层协议(golaxy transfer protocol),适用于长连接、实时通信的工作场景,需要工作在可靠网络协议(tcp/kcp)之上,支持链路加密、链路鉴权、断线续连等特性。
util
Click to show internal directories.
Click to hide internal directories.