Documentation
¶
Index ¶
- func NewChannelStore(id string) *channelStore
- func NewClientStore(id string) *clientStore
- func NewCommandRouter(s *server) *commandRouter
- func NewServer(config ServerConfig) *server
- type ChannelStorer
- type ClientStorer
- type OperatorStore
- type OperatorStorer
- type ServerConfig
- type ServerConfigParameters
- type Serverer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewChannelStore ¶
func NewChannelStore(id string) *channelStore
func NewClientStore ¶
func NewClientStore(id string) *clientStore
func NewCommandRouter ¶
func NewCommandRouter(s *server) *commandRouter
func NewServer ¶
func NewServer(config ServerConfig) *server
Types ¶
type ChannelStorer ¶
type ChannelStorer interface {
// contains filtered or unexported methods
}
type ClientStorer ¶
type ClientStorer interface {
// contains filtered or unexported methods
}
type OperatorStore ¶
type OperatorStore struct {
// contains filtered or unexported fields
}
func NewOperatorStore ¶
func NewOperatorStore() *OperatorStore
type OperatorStorer ¶
type OperatorStorer interface {
// contains filtered or unexported methods
}
type ServerConfig ¶
type ServerConfigParameters ¶
type ServerConfigParameters struct { // https://modern.ircdocs.horse/#awaylen-parameter MaxAwayLength int // https://modern.ircdocs.horse/#casemapping-parameter CaseMapping string // https://modern.ircdocs.horse/#casemapping-parameter ChannelLimit string // https://modern.ircdocs.horse/#chanmodes-parameter ChannelModes string // https://modern.ircdocs.horse/#channellen-parameter MaxChannelLength int // https://modern.ircdocs.horse/#chantypes-parameter ChannelTypes string // https://modern.ircdocs.horse/#elist-parameter EList string // https://modern.ircdocs.horse/#excepts-parameter Excepts string // https://modern.ircdocs.horse/#hostlen-parameter MaxHostnameLength int // https://modern.ircdocs.horse/#kicklen-parameter MaxKickLength int // https://modern.ircdocs.horse/#maxlist-parameter MaxList string // https://modern.ircdocs.horse/#modes-parameter MaxModes int // https://modern.ircdocs.horse/#network-parameter // // NOTE: Use ASCII codes for characters such as space (\x20) Network string // https://modern.ircdocs.horse/#nicklen-parameter MaxNickLength int // https://modern.ircdocs.horse/#prefix-parameter ChannelPrefixes string // https://modern.ircdocs.horse/#statusmsg-parameter StatusMessage string // https://modern.ircdocs.horse/#targmax-parameter MaxTargets string // https://modern.ircdocs.horse/#topiclen-parameter MaxTopicLength int // https://modern.ircdocs.horse/#userlen-parameter MaxUserLength int }
Source Files
¶
- channel.go
- client.go
- command.go
- errors.go
- handle_command_away.go
- handle_command_invite.go
- handle_command_join.go
- handle_command_kick.go
- handle_command_list.go
- handle_command_lusers.go
- handle_command_mode.go
- handle_command_mode_channel.go
- handle_command_mode_client.go
- handle_command_nick.go
- handle_command_oper.go
- handle_command_part.go
- handle_command_pass.go
- handle_command_ping.go
- handle_command_pong.go
- handle_command_privmsg.go
- handle_command_quit.go
- handle_command_topic.go
- handle_command_user.go
- handle_command_version.go
- handle_command_who.go
- handle_command_whois.go
- handle_conn.go
- handle_handshake.go
- handle_in.go
- handle_out.go
- handle_pong.go
- mask.go
- message.go
- middleware_handshake.go
- middleware_oper.go
- middleware_params.go
- modes.go
- parse.go
- router.go
- rpl.go
- server.go
- store_channel.go
- store_channel_client.go
- store_client.go
- store_opers.go
Click to show internal directories.
Click to hide internal directories.