Documentation ¶
Overview ¶
This file is part of rotorcore.
rotorcore is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
rotorcore is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with rotorcore. If not, see <https://www.gnu.org/licenses/>.
This file is part of rotorcore.
rotorcore is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
rotorcore is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with rotorcore. If not, see <https://www.gnu.org/licenses/>.
This file is part of rotorcore.
rotorcore is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
rotorcore is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with rotorcore. If not, see <https://www.gnu.org/licenses/>.
Index ¶
Constants ¶
const ( ConnectEvent EventType = 0 MessageEvent = 1 DisconnEvent = 2 SecondTimer = 3 )
Variables ¶
This section is empty.
Functions ¶
func SendWithDrop ¶
func SendWithDrop(ch MsgChannel, msg gofmqp.Message)
Types ¶
type EventChannel ¶
type EventChannel chan Event
type IdGenerator ¶
type IdGenerator struct {
// contains filtered or unexported fields
}
func NewIdGenerator ¶
func NewIdGenerator() IdGenerator
func (*IdGenerator) GetId ¶
func (gen *IdGenerator) GetId() gofmqp.Id
type MsgChannel ¶
type Router ¶
type Router struct {
// contains filtered or unexported fields
}