server

package
v0.0.0-...-2db41fb Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package server contains the implementation of our data storage server. It includes implementations for both grpc and https

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server interface {
	Run() error
}

Server interface that the server must implement

func CreateServer

func CreateServer(conf *config.Config) Server

CreateServer - factory function that selects the server implementation based on parameters

Directories

Path Synopsis
Package auth Provides functionality for JWT authentication + middleware to support its operation
Package auth Provides functionality for JWT authentication + middleware to support its operation
jwt
Package jwt provides functionality for JWT authentication
Package jwt provides functionality for JWT authentication
Package config implements the necessary structures and parsing for server configuration
Package config implements the necessary structures and parsing for server configuration
Package gprcserver contains the implementation of the server via gRPC
Package gprcserver contains the implementation of the server via gRPC
api
Package httpserver implements HTTP handlers using chi.NewRouter
Package httpserver implements HTTP handlers using chi.NewRouter
mocks
auth/jwt
Package mock_jwt is a generated GoMock package.
Package mock_jwt is a generated GoMock package.
storage
Package mock_storage is a generated GoMock package.
Package mock_storage is a generated GoMock package.
Package storage - реализует чтение запись в базу всех основных сущностей, Карты, Логины, и тд.
Package storage - реализует чтение запись в базу всех основных сущностей, Карты, Логины, и тд.

Jump to

Keyboard shortcuts

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