Documentation ¶
Overview ¶
Package grpc provides a daemon implementation, which provides gRPC interface to the 0-stor client. The gRPC interface specification can be found at `./schema/daemon.proto`.
It can be started by using `ztor daemon` command.
Index ¶
Constants ¶
View Source
const (
// DefaultMaxMsgSize is the default size msg of a server in MiB
DefaultMaxMsgSize = 32
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // required parameters Pipeline pipeline.Pipeline MetaClient *metastor.Client MaxMsgSize int // size in MiB DisableLocalFSAccess bool }
Config is used to configure a GRPC daemon manually.
type Daemon ¶
type Daemon struct {
// contains filtered or unexported fields
}
Daemon represents a client daemon, exposing the client over a GRPC interface.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.