[#425] services: Define service interfaces that was removed from API lib
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
e6f945e61d
commit
718a2fad26
29 changed files with 107 additions and 42 deletions
12
pkg/services/session/server.go
Normal file
12
pkg/services/session/server.go
Normal file
|
@ -0,0 +1,12 @@
|
|||
package session
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/nspcc-dev/neofs-api-go/v2/session"
|
||||
)
|
||||
|
||||
// Server is an interface of the NeoFS API Session service server
|
||||
type Server interface {
|
||||
Create(context.Context, *session.CreateRequest) (*session.CreateResponse, error)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue