Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACL ¶
type ACL interface {
Allowed(chat1.ChatChannel, Username) (bool, error)
}
func NewConstantACL ¶
func NewConstantACL(allowed map[chat1.ChatChannel][]Username) ACL
type BadChannelError ¶
type BadChannelError struct{}
func (BadChannelError) Error ¶
func (BadChannelError) Error() string
type ConstantACL ¶
type ConstantACL struct {
// contains filtered or unexported fields
}
func (*ConstantACL) Allowed ¶
func (c *ConstantACL) Allowed(channel chat1.ChatChannel, username Username) (bool, error)
Click to show internal directories.
Click to hide internal directories.