Documentation
¶
Index ¶
- Variables
- type InstalledUserTerm
- type Service
- type UserTerm
- func (s *UserTerm) InstallProcess(ctx context.Context, system herbsystem.System, ...)
- func (s *UserTerm) ModuleName() string
- func (s *UserTerm) MustCheckSession(ctx context.Context, session *usersystem.Session) bool
- func (s *UserTerm) MustInitPayloads(ctx context.Context, st usersystem.SessionType, uid string, ...)
- func (s *UserTerm) StartService() error
- func (s *UserTerm) StopService() error
Constants ¶
This section is empty.
Variables ¶
View Source
var ModuleName = "userterm"
View Source
var PayloadTerm = "term"
Functions ¶
This section is empty.
Types ¶
type InstalledUserTerm ¶
type InstalledUserTerm struct {
*UserTerm
UserSystem *usersystem.UserSystem
}
func MustNewAndInstallTo ¶
func MustNewAndInstallTo(s *usersystem.UserSystem) *InstalledUserTerm
func NewInstalledUserTerm ¶
func NewInstalledUserTerm() *InstalledUserTerm
type UserTerm ¶
type UserTerm struct {
herbsystem.NopModule
Service
}
func MustGetModule ¶
func MustGetModule(s *usersystem.UserSystem) *UserTerm
func (*UserTerm) InstallProcess ¶
func (s *UserTerm) InstallProcess(ctx context.Context, system herbsystem.System, next func(context.Context, herbsystem.System))
func (*UserTerm) ModuleName ¶
func (*UserTerm) MustCheckSession ¶
func (*UserTerm) MustInitPayloads ¶
func (s *UserTerm) MustInitPayloads(ctx context.Context, st usersystem.SessionType, uid string, payloads *authority.Payloads)
func (*UserTerm) StartService ¶
func (*UserTerm) StopService ¶
Click to show internal directories.
Click to hide internal directories.