forked from TrueCloudLab/frostfs-sdk-go
[#197] session: Refactor and document the package
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
497053c785
commit
552c7875bf
32 changed files with 1622 additions and 1358 deletions
13
session/test/doc.go
Normal file
13
session/test/doc.go
Normal file
|
@ -0,0 +1,13 @@
|
|||
/*
|
||||
Package sessiontest provides functions for convenient testing of session package API.
|
||||
|
||||
Note that importing the package into source files is highly discouraged.
|
||||
|
||||
Random instance generation functions can be useful when testing expects any value, e.g.:
|
||||
import sessiontest "github.com/nspcc-dev/neofs-sdk-go/session/test"
|
||||
|
||||
val := sessiontest.Container()
|
||||
// test the value
|
||||
|
||||
*/
|
||||
package sessiontest
|
Loading…
Add table
Add a link
Reference in a new issue