mirror of
https://github.com/jeremyd/ergo.git
synced 2026-07-03 15:23:37 -07:00
Basic EXTJWT support
This commit is contained in:
committed by
Shivaram Lingamneni
parent
6ff6225c1e
commit
0bbb5d121d
@@ -388,6 +388,18 @@ func (set *ModeSet) String() (result string) {
|
||||
return buf.String()
|
||||
}
|
||||
|
||||
// Strings returns the modes in this set.
|
||||
func (set *ModeSet) Strings() (result []string) {
|
||||
if set == nil {
|
||||
return
|
||||
}
|
||||
|
||||
for _, mode := range set.AllModes() {
|
||||
result = append(result, mode.String())
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// Prefixes returns a list of prefixes for the given set of channel modes.
|
||||
func (set *ModeSet) Prefixes(isMultiPrefix bool) (prefixes string) {
|
||||
if set == nil {
|
||||
|
||||
Reference in New Issue
Block a user