Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
client
Package main contains the client launch.
|
Package main contains the client launch. |
server
Package main содержит запуск сервера.
|
Package main содержит запуск сервера. |
internal
|
|
client/api
Package api implements a client for interacting with the server.
|
Package api implements a client for interacting with the server. |
client/config
Package config implements the necessary structures and parsing of the server configuration
|
Package config implements the necessary structures and parsing of the server configuration |
client/console
Package console реализует модуль для парсинга ввода консоли
|
Package console реализует модуль для парсинга ввода консоли |
models
Package models contains structures that describe our domain entities right now all data is strings, we should replace them with correct types + proper validation
|
Package models contains structures that describe our domain entities right now all data is strings, we should replace them with correct types + proper validation |
server
Package server contains the implementation of our data storage server.
|
Package server contains the implementation of our data storage server. |
server/auth
Package auth Provides functionality for JWT authentication + middleware to support its operation
|
Package auth Provides functionality for JWT authentication + middleware to support its operation |
server/auth/jwt
Package jwt provides functionality for JWT authentication
|
Package jwt provides functionality for JWT authentication |
server/config
Package config implements the necessary structures and parsing for server configuration
|
Package config implements the necessary structures and parsing for server configuration |
server/gprcserver
Package gprcserver contains the implementation of the server via gRPC
|
Package gprcserver contains the implementation of the server via gRPC |
server/httpserver
Package httpserver implements HTTP handlers using chi.NewRouter
|
Package httpserver implements HTTP handlers using chi.NewRouter |
server/mocks/auth/jwt
Package mock_jwt is a generated GoMock package.
|
Package mock_jwt is a generated GoMock package. |
server/mocks/storage
Package mock_storage is a generated GoMock package.
|
Package mock_storage is a generated GoMock package. |
server/storage
Package storage - реализует чтение запись в базу всех основных сущностей, Карты, Логины, и тд.
|
Package storage - реализует чтение запись в базу всех основных сущностей, Карты, Логины, и тд. |
Package swagger GENERATED BY SWAG; DO NOT EDIT This file was generated by swaggo/swag
|
Package swagger GENERATED BY SWAG; DO NOT EDIT This file was generated by swaggo/swag |
Click to show internal directories.
Click to hide internal directories.