database

package
v0.0.0-...-e558f2e Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Network

type Network interface {
	Serve(ctx context.Context, handler network.Handler) error
}

type NetworkService

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

func NewNetworkService

func NewNetworkService(
	controller *engine.Controller,
	network Network,
	logger *slog.Logger,
) *NetworkService

func (*NetworkService) Serve

func (s *NetworkService) Serve(ctx context.Context) error

type Server

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

func NewServer

func NewServer() *Server

func (*Server) AddService

func (s *Server) AddService(service Service)

func (*Server) Serve

func (s *Server) Serve(ctx context.Context) error

type Service

type Service interface {
	Serve(ctx context.Context) error
}

Directories

Path Synopsis
wal

Jump to

Keyboard shortcuts

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