client

package
v0.0.0-...-dc6ae1d Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type C

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

func New

func New(base string) *C

func (*C) Login

func (c *C) Login(ctx context.Context, login, password string) error

func (*C) StartSession

func (c *C) StartSession(ctx context.Context, login, password string, ttl time.Duration) (string, error)

func (*C) ValidateToken

func (c *C) ValidateToken(ctx context.Context, token string) (string, string, error)

Jump to

Keyboard shortcuts

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