server

package
v0.0.0-...-83a2466 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2016 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package server is a generated protocol buffer package.

It is generated from these files:

server.proto

It has these top-level messages:

Request
Response
Query
Result

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterNeo5GServer

func RegisterNeo5GServer(s *grpc.Server, srv Neo5GServer)

Types

type Neo5GClient

type Neo5GClient interface {
	Connect(ctx context.Context, opts ...grpc.CallOption) (Neo5G_ConnectClient, error)
	Execute(ctx context.Context, opts ...grpc.CallOption) (Neo5G_ExecuteClient, error)
}

func NewNeo5GClient

func NewNeo5GClient(cc *grpc.ClientConn) Neo5GClient

type Neo5GServer

type Neo5GServer interface {
	Connect(Neo5G_ConnectServer) error
	Execute(Neo5G_ExecuteServer) error
}

type Neo5G_ConnectClient

type Neo5G_ConnectClient interface {
	Send(*Request) error
	Recv() (*Response, error)
	grpc.ClientStream
}

type Neo5G_ConnectServer

type Neo5G_ConnectServer interface {
	Send(*Response) error
	Recv() (*Request, error)
	grpc.ServerStream
}

type Neo5G_ExecuteClient

type Neo5G_ExecuteClient interface {
	Send(*Query) error
	Recv() (*Result, error)
	grpc.ClientStream
}

type Neo5G_ExecuteServer

type Neo5G_ExecuteServer interface {
	Send(*Result) error
	Recv() (*Query, error)
	grpc.ServerStream
}

type Neo5gDBServer

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

func (*Neo5gDBServer) Start

func (s *Neo5gDBServer) Start()

type Node

type Node struct {
}

type Path

type Path struct{}

type Query

type Query struct {
	Query string `protobuf:"bytes,1,opt,name=query" json:"query,omitempty"`
}

func (*Query) Descriptor

func (*Query) Descriptor() ([]byte, []int)

func (*Query) ProtoMessage

func (*Query) ProtoMessage()

func (*Query) Reset

func (m *Query) Reset()

func (*Query) String

func (m *Query) String() string

type Relationship

type Relationship struct{}

type Request

type Request struct {
	Dsn      string `protobuf:"bytes,1,opt,name=dsn" json:"dsn,omitempty"`
	Host     string `protobuf:"bytes,2,opt,name=host" json:"host,omitempty"`
	Port     uint32 `protobuf:"varint,3,opt,name=port" json:"port,omitempty"`
	Database string `protobuf:"bytes,4,opt,name=database" json:"database,omitempty"`
	User     string `protobuf:"bytes,5,opt,name=user" json:"user,omitempty"`
	Password string `protobuf:"bytes,6,opt,name=password" json:"password,omitempty"`
}

func (*Request) Descriptor

func (*Request) Descriptor() ([]byte, []int)

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) String

func (m *Request) String() string

type Response

type Response struct {
	Code uint32 `protobuf:"varint,1,opt,name=code" json:"code,omitempty"`
	Msg  string `protobuf:"bytes,2,opt,name=msg" json:"msg,omitempty"`
}

func (*Response) Descriptor

func (*Response) Descriptor() ([]byte, []int)

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) String

func (m *Response) String() string

type Result

type Result struct {
	Result uint32 `protobuf:"varint,1,opt,name=result" json:"result,omitempty"`
}

func (*Result) Descriptor

func (*Result) Descriptor() ([]byte, []int)

func (*Result) ProtoMessage

func (*Result) ProtoMessage()

func (*Result) Reset

func (m *Result) Reset()

func (*Result) String

func (m *Result) String() string

Jump to

Keyboard shortcuts

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