Documentation ¶
Index ¶
- Constants
- func FormatMessage(msg databases.Message, dir RouleauDir, csi bool) (lines int, vdt [][]byte)
- func GetDateString(lastMsg, newMsg time.Time) (str string)
- func RunChatPage(m *minigo.Minitel, msgDB *databases.MessageDatabase, cntd *atomic.Int32, ...) (op int)
- type Cache
- type ChatLayout
- type RouleauDir
Constants ¶
View Source
const ( Blank = -2 Date = -1 )
View Source
const NoLimit = -1
Variables ¶
This section is empty.
Functions ¶
func FormatMessage ¶
func GetDateString ¶
func RunChatPage ¶
func RunChatPage(m *minigo.Minitel, msgDB *databases.MessageDatabase, cntd *atomic.Int32, nick string, promMsgNb prometheus.Counter) (op int)
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func (*Cache) MultBottom ¶
type ChatLayout ¶
type ChatLayout struct {
// contains filtered or unexported fields
}
func NewChatLayout ¶
func NewChatLayout(mntl *minigo.Minitel, msgDB *databases.MessageDatabase, cntd *atomic.Int32, nick string) *ChatLayout
func (*ChatLayout) Init ¶
func (c *ChatLayout) Init()
func (*ChatLayout) Update ¶
func (c *ChatLayout) Update()
Click to show internal directories.
Click to hide internal directories.