rainbond: github.com/goodrain/rainbond/eventlog/entry/grpc/pb Index | Files

package pb

import "github.com/goodrain/rainbond/eventlog/entry/grpc/pb"

Index

Package Files

event_log.pb.go

func RegisterEventLogServer Uses

func RegisterEventLogServer(s *grpc.Server, srv EventLogServer)

type EventLogClient Uses

type EventLogClient interface {
    Log(ctx context.Context, opts ...grpc.CallOption) (EventLog_LogClient, error)
}

func NewEventLogClient Uses

func NewEventLogClient(cc *grpc.ClientConn) EventLogClient

type EventLogServer Uses

type EventLogServer interface {
    Log(EventLog_LogServer) error
}

type EventLog_LogClient Uses

type EventLog_LogClient interface {
    Send(*LogMessage) error
    CloseAndRecv() (*Reply, error)
    grpc.ClientStream
}

type EventLog_LogServer Uses

type EventLog_LogServer interface {
    SendAndClose(*Reply) error
    Recv() (*LogMessage, error)
    grpc.ServerStream
}

type LogMessage Uses

type LogMessage struct {
    Log []byte `protobuf:"bytes,1,opt,name=log,proto3" json:"log,omitempty"`
}

func (*LogMessage) Descriptor Uses

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

func (*LogMessage) GetLog Uses

func (m *LogMessage) GetLog() []byte

func (*LogMessage) ProtoMessage Uses

func (*LogMessage) ProtoMessage()

func (*LogMessage) Reset Uses

func (m *LogMessage) Reset()

func (*LogMessage) String Uses

func (m *LogMessage) String() string

type Reply Uses

type Reply struct {
    Status  string `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"`
    Message string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
}

func (*Reply) Descriptor Uses

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

func (*Reply) GetMessage Uses

func (m *Reply) GetMessage() string

func (*Reply) GetStatus Uses

func (m *Reply) GetStatus() string

func (*Reply) ProtoMessage Uses

func (*Reply) ProtoMessage()

func (*Reply) Reset Uses

func (m *Reply) Reset()

func (*Reply) String Uses

func (m *Reply) String() string

Package pb imports 5 packages (graph) and is imported by 3 packages. Updated 2018-04-24. Refresh now. Tools for package owners.