session

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrEmptySession = errors.New("empty session")
)

Functions

This section is empty.

Types

type Session

type Session struct {
	// contains filtered or unexported fields
}

func NewSession

func NewSession(cli *api.Client, cfg config.Config) *Session

func (*Session) Create

func (s *Session) Create(ctx context.Context) (string, error)

func (*Session) Destroy

func (s *Session) Destroy(ctx context.Context) error

func (*Session) Renew

func (s *Session) Renew(ctx context.Context) <-chan error

func (*Session) SessionID

func (s *Session) SessionID() string

func (*Session) SessionKey

func (s *Session) SessionKey() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL