Versions in this module Expand all Collapse all v0 v0.1.1 Jan 9, 2020 v0.1.0 Jan 9, 2020 Changes in this version + func RegisterMetricsServiceHandler(s server.Server, hdlr MetricsServiceHandler, opts ...server.HandlerOption) error + type GetLogsRequest struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetLogsRequest) Descriptor() ([]byte, []int) + func (*GetLogsRequest) ProtoMessage() + func (m *GetLogsRequest) Reset() + func (m *GetLogsRequest) String() string + func (m *GetLogsRequest) XXX_DiscardUnknown() + func (m *GetLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetLogsRequest) XXX_Merge(src proto.Message) + func (m *GetLogsRequest) XXX_Size() int + func (m *GetLogsRequest) XXX_Unmarshal(b []byte) error + type GetLogsResponse struct + Logs []byte + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetLogsResponse) Descriptor() ([]byte, []int) + func (*GetLogsResponse) ProtoMessage() + func (m *GetLogsResponse) GetLogs() []byte + func (m *GetLogsResponse) Reset() + func (m *GetLogsResponse) String() string + func (m *GetLogsResponse) XXX_DiscardUnknown() + func (m *GetLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetLogsResponse) XXX_Merge(src proto.Message) + func (m *GetLogsResponse) XXX_Size() int + func (m *GetLogsResponse) XXX_Unmarshal(b []byte) error + type LogRequest struct + LogLevel string + Message string + Service string + TimeStamp string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*LogRequest) Descriptor() ([]byte, []int) + func (*LogRequest) ProtoMessage() + func (m *LogRequest) GetLogLevel() string + func (m *LogRequest) GetMessage() string + func (m *LogRequest) GetService() string + func (m *LogRequest) GetTimeStamp() string + func (m *LogRequest) Reset() + func (m *LogRequest) String() string + func (m *LogRequest) XXX_DiscardUnknown() + func (m *LogRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *LogRequest) XXX_Merge(src proto.Message) + func (m *LogRequest) XXX_Size() int + func (m *LogRequest) XXX_Unmarshal(b []byte) error + type LogResponse struct + Created bool + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*LogResponse) Descriptor() ([]byte, []int) + func (*LogResponse) ProtoMessage() + func (m *LogResponse) GetCreated() bool + func (m *LogResponse) Reset() + func (m *LogResponse) String() string + func (m *LogResponse) XXX_DiscardUnknown() + func (m *LogResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *LogResponse) XXX_Merge(src proto.Message) + func (m *LogResponse) XXX_Size() int + func (m *LogResponse) XXX_Unmarshal(b []byte) error + type MetricsService interface + GetLogs func(ctx context.Context, in *GetLogsRequest, opts ...client.CallOption) (*GetLogsResponse, error) + Log func(ctx context.Context, in *LogRequest, opts ...client.CallOption) (*LogResponse, error) + func NewMetricsService(name string, c client.Client) MetricsService + type MetricsServiceHandler interface + GetLogs func(context.Context, *GetLogsRequest, *GetLogsResponse) error + Log func(context.Context, *LogRequest, *LogResponse) error