Documentation ¶
Overview ¶
It provides some functions to start the channels parts The first option is you configure and start the engine and we bind the http routes The second we you configure the default parts and we start the engine and bind routes
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CORSMiddleware ¶
func CORSMiddleware() gin.HandlerFunc
Types ¶
type Config ¶
type Config struct { JWTSecret string `yaml:"jwt"` Server struct { Host string `yaml:"host"` Port string `yaml:"port"` } `yaml:"server"` Database struct { User string `yaml:"user"` Password string `yaml:"password"` DB string `yaml:"db"` Host string `yaml:"host"` Port string `yaml:"port"` } `yaml:"database"` }
Directories ¶
Path | Synopsis |
---|---|
Provides the structs and function to verify and extract a token and check if the token can use the resources he wants
|
Provides the structs and function to verify and extract a token and check if the token can use the resources he wants |
This package holds the implementations for the project cache interface
|
This package holds the implementations for the project cache interface |
This package holds the connection interface implementations to be used by project
|
This package holds the connection interface implementations to be used by project |
This package hold all the delivery logic, connection tracking and pub sub
|
This package hold all the delivery logic, connection tracking and pub sub |
This package provides some extra http handlers
|
This package provides some extra http handlers |
This package holds the presence interface implementations This package holds the presence interface implementations
|
This package holds the presence interface implementations This package holds the presence interface implementations |
This package holds the publisher interface implementations
|
This package holds the publisher interface implementations |
pgxsql
This package holds the PGX driver implementation of the storage interface
|
This package holds the PGX driver implementation of the storage interface |
storagesql
This package holds a default implementation of the storage interface
|
This package holds a default implementation of the storage interface |
Click to show internal directories.
Click to hide internal directories.