Documentation
¶
Index ¶
- type Provider
- func (this *Provider) ConfigHelp() []config.Help
- func (this *Provider) Configure(conf config.ConfigView) error
- func (this *Provider) FuncMapFor(document *step.Document) step.FuncMap
- func (this *Provider) Init(ctx context.Context) error
- func (this *Provider) Package() string
- func (this *Provider) Trim(ctx context.Context) error
- type Session
- func (this *Session) Auth(name, password string) (bool, error)
- func (this *Session) AuthOK() bool
- func (this *Session) AuthToken() string
- func (this *Session) AuthUser() string
- func (this *Session) Clear() string
- func (this *Session) Del(name string) string
- func (this *Session) Expiration() time.Time
- func (this *Session) Expired() bool
- func (this *Session) Get(name string) (any, error)
- func (this *Session) ID() uuid.UUID
- func (this *Session) InAuthGroup(group string) (bool, error)
- func (this *Session) Set(name string, value any) (string, error)
- func (this *Session) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider provides session functions.
func (*Provider) Configure ¶
func (this *Provider) Configure(conf config.ConfigView) error
func (*Provider) FuncMapFor ¶
FuncMapFor fulfills the step.FuncProviderFor interface.
func (*Provider) Package ¶
Package fulfills the step.Provider interface.
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
Source Files
¶
- session.go
Click to show internal directories.
Click to hide internal directories.