session

package
v1.22.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:   "session",
	Short: "Operations with session token",
}

Functions

func CreateSession

func CreateSession(dst *session.Object, c *client.Client, lifetime uint64) error

CreateSession opens a new communication with NeoFS storage node using client connection. The session is expected to be maintained by the storage node during the given number of epochs.

Fills ID, lifetime and session key.

Types

This section is empty.

Jump to

Keyboard shortcuts

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