mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-02-17 01:59:15 +00:00
13 lines
276 B
Go
13 lines
276 B
Go
![]() |
package gumble
|
||
|
|
||
|
// ContextActions is a map of ContextActions.
|
||
|
type ContextActions map[string]*ContextAction
|
||
|
|
||
|
func (c ContextActions) create(action string) *ContextAction {
|
||
|
contextAction := &ContextAction{
|
||
|
Name: action,
|
||
|
}
|
||
|
c[action] = contextAction
|
||
|
return contextAction
|
||
|
}
|