Documentation ¶
Index ¶
- Constants
- type Scope
- type ScopeManager
- func (sm *ScopeManager) GetScopeApproved(s *Scope) (bool, error)
- func (sm *ScopeManager) GetScopes() []*Scope
- func (sm *ScopeManager) InScopes(s *Scope) bool
- func (sm *ScopeManager) RequestScope(s *Scope)
- func (sm *ScopeManager) RequestScopes(s []*Scope)
- func (sm *ScopeManager) SetApproveHandler(f func())
Constants ¶
View Source
const MsgScopeManagerApproveScopeMultiple = "scopemanager/approve/scope/multiple"
View Source
const MsgScopeManagerApproveScopeSingle = "scopemanager/approve/scope/single"
View Source
const MsgScopeManagerRequestScopeMultiple = "scopemanager/request/scope/multiple"
View Source
const MsgScopeManagerRequestScopeSingle = "scopemanager/request/scope/single"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scope ¶
type ScopeManager ¶
type ScopeManager struct {
// contains filtered or unexported fields
}
func NewScopeManager ¶
func NewScopeManager(mq *messagequeue.MessageQueue) *ScopeManager
func (*ScopeManager) GetScopeApproved ¶
func (sm *ScopeManager) GetScopeApproved(s *Scope) (bool, error)
func (*ScopeManager) GetScopes ¶
func (sm *ScopeManager) GetScopes() []*Scope
func (*ScopeManager) InScopes ¶
func (sm *ScopeManager) InScopes(s *Scope) bool
func (*ScopeManager) RequestScope ¶
func (sm *ScopeManager) RequestScope(s *Scope)
func (*ScopeManager) RequestScopes ¶
func (sm *ScopeManager) RequestScopes(s []*Scope)
func (*ScopeManager) SetApproveHandler ¶
func (sm *ScopeManager) SetApproveHandler(f func())
Click to show internal directories.
Click to hide internal directories.