Documentation ¶
Index ¶
- Constants
- Variables
- type Bus
- type Empty
- type ErrorMessage
- func (*ErrorMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ErrorMessage) GetBusID() string
- func (x *ErrorMessage) GetErrorMessage() string
- func (x *ErrorMessage) GetTimestamp() int64
- func (*ErrorMessage) ProtoMessage()
- func (x *ErrorMessage) ProtoReflect() protoreflect.Message
- func (x *ErrorMessage) Reset()
- func (x *ErrorMessage) String() string
- type Generator
- type ServiceConfiguration
- type StreamInfo
- type ToldataHealthCheckInfo
- func (*ToldataHealthCheckInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ToldataHealthCheckInfo) GetData() string
- func (*ToldataHealthCheckInfo) ProtoMessage()
- func (x *ToldataHealthCheckInfo) ProtoReflect() protoreflect.Message
- func (x *ToldataHealthCheckInfo) Reset()
- func (x *ToldataHealthCheckInfo) String() string
Constants ¶
View Source
const ( RestTemplate = `` /* 2544-byte string literal not displayed */ GRPCTemplate = `` /* 2450-byte string literal not displayed */ RPCTemplate = `` /* 17307-byte string literal not displayed */ )
Variables ¶
View Source
var (
// optional string rest_mount = 99999;
E_RestMount = &file_api_toldata_proto_extTypes[0]
)
Extension fields to descriptorpb.ServiceOptions.
View Source
var File_api_toldata_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Bus ¶
type Bus struct { Connection *nats.Conn Configuration ServiceConfiguration Context context.Context }
func (*Bus) HandleError ¶
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type ErrorMessage ¶
type ErrorMessage struct { ErrorMessage string `protobuf:"bytes,1,opt,name=error_message,json=error-message,proto3" json:"error_message,omitempty"` Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` BusID string `protobuf:"bytes,3,opt,name=busID,json=bus-id,proto3" json:"busID,omitempty"` // contains filtered or unexported fields }
func (*ErrorMessage) Descriptor
deprecated
func (*ErrorMessage) Descriptor() ([]byte, []int)
Deprecated: Use ErrorMessage.ProtoReflect.Descriptor instead.
func (*ErrorMessage) GetBusID ¶
func (x *ErrorMessage) GetBusID() string
func (*ErrorMessage) GetErrorMessage ¶
func (x *ErrorMessage) GetErrorMessage() string
func (*ErrorMessage) GetTimestamp ¶
func (x *ErrorMessage) GetTimestamp() int64
func (*ErrorMessage) ProtoMessage ¶
func (*ErrorMessage) ProtoMessage()
func (*ErrorMessage) ProtoReflect ¶
func (x *ErrorMessage) ProtoReflect() protoreflect.Message
func (*ErrorMessage) Reset ¶
func (x *ErrorMessage) Reset()
func (*ErrorMessage) String ¶
func (x *ErrorMessage) String() string
type Generator ¶
type Generator struct { File *descriptor.FileDescriptorProto PathsSourceRelative bool }
func (Generator) Generate ¶
func (g Generator) Generate() (*plugin.CodeGeneratorResponse_File, error)
func (Generator) GenerateGRPC ¶
func (g Generator) GenerateGRPC() (*plugin.CodeGeneratorResponse_File, error)
func (Generator) GenerateREST ¶
func (g Generator) GenerateREST() (*plugin.CodeGeneratorResponse_File, error)
type ServiceConfiguration ¶
type StreamInfo ¶
type StreamInfo struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` // contains filtered or unexported fields }
func (*StreamInfo) Descriptor
deprecated
func (*StreamInfo) Descriptor() ([]byte, []int)
Deprecated: Use StreamInfo.ProtoReflect.Descriptor instead.
func (*StreamInfo) GetID ¶
func (x *StreamInfo) GetID() string
func (*StreamInfo) ProtoMessage ¶
func (*StreamInfo) ProtoMessage()
func (*StreamInfo) ProtoReflect ¶
func (x *StreamInfo) ProtoReflect() protoreflect.Message
func (*StreamInfo) Reset ¶
func (x *StreamInfo) Reset()
func (*StreamInfo) String ¶
func (x *StreamInfo) String() string
type ToldataHealthCheckInfo ¶
type ToldataHealthCheckInfo struct { Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ToldataHealthCheckInfo) Descriptor
deprecated
func (*ToldataHealthCheckInfo) Descriptor() ([]byte, []int)
Deprecated: Use ToldataHealthCheckInfo.ProtoReflect.Descriptor instead.
func (*ToldataHealthCheckInfo) GetData ¶
func (x *ToldataHealthCheckInfo) GetData() string
func (*ToldataHealthCheckInfo) ProtoMessage ¶
func (*ToldataHealthCheckInfo) ProtoMessage()
func (*ToldataHealthCheckInfo) ProtoReflect ¶
func (x *ToldataHealthCheckInfo) ProtoReflect() protoreflect.Message
func (*ToldataHealthCheckInfo) Reset ¶
func (x *ToldataHealthCheckInfo) Reset()
func (*ToldataHealthCheckInfo) String ¶
func (x *ToldataHealthCheckInfo) String() string
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
Code generated by github.com/darmawan01/toldata.
|
Code generated by github.com/darmawan01/toldata. |
Click to show internal directories.
Click to hide internal directories.