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(ctx context.Context, dst *session.Object, c *client.Client, key ecdsa.PrivateKey, expireAt uint64, currEpoch 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.
Click to show internal directories.
Click to hide internal directories.