object

package
v0.12.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2020 License: GPL-3.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server added in v0.12.0

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

Server wraps NeoFS API Object service and provides gRPC Object service server interface.

func New

func New(c object.Service) *Server

New creates, initializes and returns Server instance.

func (*Server) Delete added in v0.12.0

Delete converts gRPC DeleteRequest message and passes it to internal Object service.

func (*Server) Get added in v0.12.0

Get converts gRPC GetRequest message, opens internal Object service Get stream and overtakes its data to gRPC stream.

func (*Server) GetRange added in v0.12.0

GetRange converts gRPC GetRangeRequest message, opens internal Object service Search stream and overtakes its data to gRPC stream.

func (*Server) GetRangeHash added in v0.12.0

GetRangeHash converts gRPC GetRangeHashRequest message and passes it to internal Object service.

func (*Server) Head added in v0.12.0

Head converts gRPC HeadRequest message and passes it to internal Object service.

func (*Server) Put added in v0.12.0

Put opens internal Object service Put stream and overtakes data from gRPC stream to it.

func (*Server) Search added in v0.12.0

Search converts gRPC SearchRequest message, opens internal Object service Search stream and overtakes its data to gRPC stream.

Jump to

Keyboard shortcuts

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