pb

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterLoggerServer

func RegisterLoggerServer(s *grpc.Server, srv LoggerServer)

Types

type AddErrorLogResponse

type AddErrorLogResponse struct {
	Result               bool     `protobuf:"varint,1,opt,name=result" json:"result,omitempty"`
	Error                string   `protobuf:"bytes,2,opt,name=error" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddErrorLogResponse) Descriptor

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

func (*AddErrorLogResponse) GetError

func (m *AddErrorLogResponse) GetError() string

func (*AddErrorLogResponse) GetResult

func (m *AddErrorLogResponse) GetResult() bool

func (*AddErrorLogResponse) ProtoMessage

func (*AddErrorLogResponse) ProtoMessage()

func (*AddErrorLogResponse) Reset

func (m *AddErrorLogResponse) Reset()

func (*AddErrorLogResponse) String

func (m *AddErrorLogResponse) String() string

func (*AddErrorLogResponse) XXX_DiscardUnknown

func (m *AddErrorLogResponse) XXX_DiscardUnknown()

func (*AddErrorLogResponse) XXX_Marshal

func (m *AddErrorLogResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddErrorLogResponse) XXX_Merge

func (dst *AddErrorLogResponse) XXX_Merge(src proto.Message)

func (*AddErrorLogResponse) XXX_Size

func (m *AddErrorLogResponse) XXX_Size() int

func (*AddErrorLogResponse) XXX_Unmarshal

func (m *AddErrorLogResponse) XXX_Unmarshal(b []byte) error

type ErrorLog

type ErrorLog struct {
	ServiceId            int32    `protobuf:"varint,1,opt,name=ServiceId" json:"ServiceId,omitempty"`
	ServiceTypeId        int32    `protobuf:"varint,2,opt,name=ServiceTypeId" json:"ServiceTypeId,omitempty"`
	ProjectAddress       string   `protobuf:"bytes,3,opt,name=ProjectAddress" json:"ProjectAddress,omitempty"`
	Msg                  string   `protobuf:"bytes,4,opt,name=Msg" json:"Msg,omitempty"`
	Trace                string   `protobuf:"bytes,5,opt,name=Trace" json:"Trace,omitempty"`
	AdditionalInfo       string   `protobuf:"bytes,6,opt,name=AdditionalInfo" json:"AdditionalInfo,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ErrorLog) Descriptor

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

func (*ErrorLog) GetAdditionalInfo

func (m *ErrorLog) GetAdditionalInfo() string

func (*ErrorLog) GetMsg

func (m *ErrorLog) GetMsg() string

func (*ErrorLog) GetProjectAddress

func (m *ErrorLog) GetProjectAddress() string

func (*ErrorLog) GetServiceId

func (m *ErrorLog) GetServiceId() int32

func (*ErrorLog) GetServiceTypeId

func (m *ErrorLog) GetServiceTypeId() int32

func (*ErrorLog) GetTrace

func (m *ErrorLog) GetTrace() string

func (*ErrorLog) ProtoMessage

func (*ErrorLog) ProtoMessage()

func (*ErrorLog) Reset

func (m *ErrorLog) Reset()

func (*ErrorLog) String

func (m *ErrorLog) String() string

func (*ErrorLog) XXX_DiscardUnknown

func (m *ErrorLog) XXX_DiscardUnknown()

func (*ErrorLog) XXX_Marshal

func (m *ErrorLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ErrorLog) XXX_Merge

func (dst *ErrorLog) XXX_Merge(src proto.Message)

func (*ErrorLog) XXX_Size

func (m *ErrorLog) XXX_Size() int

func (*ErrorLog) XXX_Unmarshal

func (m *ErrorLog) XXX_Unmarshal(b []byte) error

type LoggerClient

type LoggerClient interface {
	AddErrorLog(ctx context.Context, in *ErrorLog, opts ...grpc.CallOption) (*AddErrorLogResponse, error)
}

func NewLoggerClient

func NewLoggerClient(cc *grpc.ClientConn) LoggerClient

type LoggerServer

type LoggerServer interface {
	AddErrorLog(context.Context, *ErrorLog) (*AddErrorLogResponse, error)
}

Jump to

Keyboard shortcuts

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