Documentation
¶
Index ¶
Constants ¶
View Source
const ( CreateString = "create" DeleteString = "delete" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) ForwardAction ¶
func (s *Server) ForwardAction(act *slack.InteractionCallback, w http.ResponseWriter)
func (*Server) ForwardCommand ¶
func (s *Server) ForwardCommand(cmd *slack.SlashCommand, w http.ResponseWriter)
type ServerGroup ¶
func CreateServerGroup ¶
func CreateServerGroup(api *slack.Client, admin service.AdminInterface, command string, commandNames service.CommandNames, persist persister.Persister) *ServerGroup
func (*ServerGroup) Manage ¶
func (sg *ServerGroup) Manage(cmd *slack.SlashCommand, w http.ResponseWriter)
func (*ServerGroup) Persist ¶
func (sg *ServerGroup) Persist()
func (*ServerGroup) Recover ¶
func (sg *ServerGroup) Recover()
type ServerGroupState ¶
type ServerGroupState struct {
States []ServerState `json:"States"`
}
type ServerState ¶
Click to show internal directories.
Click to hide internal directories.