modulepackage
0.0.1-alpha.2
Repository: https://github.com/liverecord/server.git
Documentation: pkg.go.dev
# README
LiveRecord Server
This is socket server for LiveRecord communication platform.
Configure
Add to .env
MYSQL_DSN=root:123@tcp(127.0.0.1:3306)/liveRecord?charset=utf8&parseTime=True
DOCUMENT_ROOT=/Users/zoonman/Projects/www/liverecord/client/dist
LISTEN_ADDR=:8000
DEBUG=true
Assemble and run
Install make and execute:
make it work
Running inside Docker container
# Functions
NewConnectionPool is factory to create new pool of connections.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Attachment for comment.
Category of topics.
Comment on the topic.
CommentStatus used to track read statuses of comments.
Config defines app configuration.
ConnectionPool is intended to keep track of all connections.
Device describes the device used by the user.
No description provided by the author
No description provided by the author
Role of the user.
Settings keep user settings under control.
No description provided by the author
SMTP used to define SMTP configuration.
SocialProfile represents user profile in social networks.
Topic defines the main forum topic structure.
User represents user entity.
UserAuthData packet.
# Type aliases
SocketConnectionsMap type.
SocketStateMap type.
UserConnectionsMap type.
UserList for list of the users.