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_ConnectServer ¶
type Neo5G_ExecuteClient ¶
type Neo5G_ExecuteServer ¶
type Neo5gDBServer ¶
type Neo5gDBServer struct {
// contains filtered or unexported fields
}
func (*Neo5gDBServer) Start ¶
func (s *Neo5gDBServer) Start()
type Query ¶
type Query struct {
Query string `protobuf:"bytes,1,opt,name=query" json:"query,omitempty"`
}
func (*Query) Descriptor ¶
func (*Query) ProtoMessage ¶
func (*Query) ProtoMessage()
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) ProtoMessage ¶
func (*Request) ProtoMessage()
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) ProtoMessage ¶
func (*Response) ProtoMessage()
type Result ¶
type Result struct {
Result uint32 `protobuf:"varint,1,opt,name=result" json:"result,omitempty"`
}
func (*Result) Descriptor ¶
func (*Result) ProtoMessage ¶
func (*Result) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.