server

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2024 License: GPL-3.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGRPCServer

func NewGRPCServer(options ...Option) *grpc.Server

Types

type Option

type Option func(*Params)

func WithAddr

func WithAddr(addr string) Option

func WithDBShardingTablesConfig

func WithDBShardingTablesConfig(config map[string]conf.DomainShardingConfig) Option

func WithFileTableShardingConfig

func WithFileTableShardingConfig(config filerepohelper.FileTableShardingConfig) Option

type Params

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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