server

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2026 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Overview

Package server Tellstone Cloud-Native In-Memory Database File: server.go Description: Top-level server orchestration: initializes the shared-nothing shards, router, binary-protocol listener, optional RESP/TLS listener, and metrics server. Handles graceful shutdown on SIGINT/SIGTERM.

Authors:

Maximilian Hagen

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RouterStore

type RouterStore struct {
	// contains filtered or unexported fields
}

func (*RouterStore) Delete

func (rs *RouterStore) Delete(key string)

func (*RouterStore) Get

func (rs *RouterStore) Get(key string) ([]byte, bool)

func (*RouterStore) Set

func (rs *RouterStore) Set(key string, value []byte, ttl time.Duration) error

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(app *tellstone.App) *Server

func (*Server) Run

func (s *Server) Run() error

Jump to

Keyboard shortcuts

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