Versions in this module Expand all Collapse all v0 v0.2.1 Aug 23, 2023 v0.2.0 Aug 21, 2023 Changes in this version + func NewMafiaServer(s Server[T], driverName string, dbUrl string) mafiaServer[T] + func Run(ms mafiaServer[T]) + type Server interface + GetDefaultNick func(int64) string + GetUpdatesChan func() <-chan T + SendMessage func(ServerMessage) + UpdateToMessage func(T) *UserMessage + type ServerMessage struct + Options []string + Text string + User int64 + type UserMessage struct + Command bool + Text string + User int64