Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureX509KeyPair ¶
Types ¶
type AdminConfig ¶
type GatewayConfig ¶
type GatewayConfig struct {
Addr string
Certificate tls.Certificate
Logger *zerolog.Logger
}
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func New ¶
func New(adm AdminConfig, gtw GatewayConfig, user *service.UserService, chat *service.ChatService) *Server
Click to show internal directories.
Click to hide internal directories.