Directories ¶
Path | Synopsis |
---|---|
Package cmd contains command line utilities and demos of the library
|
Package cmd contains command line utilities and demos of the library |
ctrlc
Package main contains a sample command-line management utility.
|
Package main contains a sample command-line management utility. |
demo
Package demo contains a demo implementation of a server and client that uses the clusterfunk library.
|
Package demo contains a demo implementation of a server and client that uses the clusterfunk library. |
demo/client
Package main contains the demo client code.
|
Package main contains the demo client code. |
demo/server
Package main contains a very simple demo project
|
Package main contains a very simple demo project |
demo/server/grpcserver
Package grpcserver contains the gRPC service implementation.
|
Package grpcserver contains the gRPC service implementation. |
demo/server/http
Package http contains the HTTP server implementation for the demo project
|
Package http contains the HTTP server implementation for the demo project |
pkg
|
|
clientfunk
Package clientfunk contains client-side types and utilities
|
Package clientfunk contains client-side types and utilities |
ctrlc
Package ctrlc contains commands for the Clusterfunk CLI.
|
Package ctrlc contains commands for the Clusterfunk CLI. |
funk
Package funk contains the types needed to create a cluster using Raft and serf.
|
Package funk contains the types needed to create a cluster using Raft and serf. |
funk/clusterpb
Package clusterpb contains the generate gRPC code
|
Package clusterpb contains the generate gRPC code |
funk/managepb
Package managepb contains the protobuf-generate code for the cluster management interface
|
Package managepb contains the protobuf-generate code for the cluster management interface |
funk/metrics
Package metrics handles metrics for the cluster.
|
Package metrics handles metrics for the cluster. |
funk/sharding/shardpb
Package shardpb contains the protobuf-generated code for the internal cluster communication
|
Package shardpb contains the protobuf-generated code for the internal cluster communication |
serverfunk
Package serverfunk contains types that comes in handy when writing servers.
|
Package serverfunk contains types that comes in handy when writing servers. |
toolbox
Package toolbox contains various helper and utility functions that the library uses.
|
Package toolbox contains various helper and utility functions that the library uses. |
toolbox/fsmtool
Package fsmtool contains tools for creating FSMs, particularly transitioning between states.
|
Package fsmtool contains tools for creating FSMs, particularly transitioning between states. |
Click to show internal directories.
Click to hide internal directories.