rpc

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package rpc provides a comprehensive framework for remote procedure calls in the distributed key-value store system. It acts as the communication layer between clients and servers, enabling operations across network boundaries.

The package is organized into several subpackages:

  • common: Core data structures and utilities used across the RPC system, including the Message protocol, configuration structures, and logging.

  • transport: Network communication abstractions with pluggable implementations (TCPConf, Unix sockets, HTTP).

  • serializer: Message serialization with multiple format options (Binary, JSON, GOB) for converting between Message objects and byte arrays.

  • client: RPC client implementations for the store and lock manager interfaces, allowing applications to interact with remote services transparently.

  • server: RPC server components that handle incoming requests, including adapters for store and lock manager operations.

Directories

Path Synopsis
Package client implements RPC clients for the distributed key-value store system.
Package client implements RPC clients for the distributed key-value store system.
Package common provides core data structures and utilities shared across the distributed key-value store system.
Package common provides core data structures and utilities shared across the distributed key-value store system.
Package serializer provides message serialization capabilities for the distributed key-value store RPC system.
Package serializer provides message serialization capabilities for the distributed key-value store RPC system.
Package server implements the RPC server for the distributed key-value store system.
Package server implements the RPC server for the distributed key-value store system.
Package transport defines the interfaces and abstractions for RPC communication in the distributed key-value store.
Package transport defines the interfaces and abstractions for RPC communication in the distributed key-value store.
base
Package base provides a foundation for transport layers in the distributed key-value store, implementing core functionality for RPC communication independent of the specific network protocol (TCPConf, Unix sockets, etc.).
Package base provides a foundation for transport layers in the distributed key-value store, implementing core functionality for RPC communication independent of the specific network protocol (TCPConf, Unix sockets, etc.).
http
Package http implements an HTTP-based transport layer for RPC communication in the distributed key-value store system.
Package http implements an HTTP-based transport layer for RPC communication in the distributed key-value store system.
tcp
Package tcp implements TCPConf socket-based transport for the distributed key-value store's RPC system.
Package tcp implements TCPConf socket-based transport for the distributed key-value store's RPC system.
unix
Package unix implements a transport layer for the distributed key-value store's RPC system using Unix domain sockets.
Package unix implements a transport layer for the distributed key-value store's RPC system using Unix domain sockets.

Jump to

Keyboard shortcuts

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