Documentation ¶
Index ¶
- Variables
- func RegisterMicrologProxyHubServer(s *grpc.Server, srv MicrologProxyHubServer)
- type AvailableDSKFStreamInput
- func (*AvailableDSKFStreamInput) Descriptor() ([]byte, []int)
- func (*AvailableDSKFStreamInput) ProtoMessage()
- func (m *AvailableDSKFStreamInput) Reset()
- func (m *AvailableDSKFStreamInput) String() string
- func (m *AvailableDSKFStreamInput) XXX_DiscardUnknown()
- func (m *AvailableDSKFStreamInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AvailableDSKFStreamInput) XXX_Merge(src proto.Message)
- func (m *AvailableDSKFStreamInput) XXX_Size() int
- func (m *AvailableDSKFStreamInput) XXX_Unmarshal(b []byte) error
- type AvailableDSKFStreamOutput
- func (*AvailableDSKFStreamOutput) Descriptor() ([]byte, []int)
- func (m *AvailableDSKFStreamOutput) GetId() int64
- func (*AvailableDSKFStreamOutput) ProtoMessage()
- func (m *AvailableDSKFStreamOutput) Reset()
- func (m *AvailableDSKFStreamOutput) String() string
- func (m *AvailableDSKFStreamOutput) XXX_DiscardUnknown()
- func (m *AvailableDSKFStreamOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AvailableDSKFStreamOutput) XXX_Merge(src proto.Message)
- func (m *AvailableDSKFStreamOutput) XXX_Size() int
- func (m *AvailableDSKFStreamOutput) XXX_Unmarshal(b []byte) error
- type DeepPingOutput
- func (*DeepPingOutput) Descriptor() ([]byte, []int)
- func (m *DeepPingOutput) GetValue() string
- func (*DeepPingOutput) ProtoMessage()
- func (m *DeepPingOutput) Reset()
- func (m *DeepPingOutput) String() string
- func (m *DeepPingOutput) XXX_DiscardUnknown()
- func (m *DeepPingOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeepPingOutput) XXX_Merge(src proto.Message)
- func (m *DeepPingOutput) XXX_Size() int
- func (m *DeepPingOutput) XXX_Unmarshal(b []byte) error
- type MicrologProxyHubClient
- type MicrologProxyHubServer
- type MicrologProxyHub_AvailableDSKFStreamClient
- type MicrologProxyHub_AvailableDSKFStreamServer
- type SetTaskStatusInput
- func (*SetTaskStatusInput) Descriptor() ([]byte, []int)
- func (m *SetTaskStatusInput) GetId() int64
- func (m *SetTaskStatusInput) GetStatus() TaskStatus
- func (*SetTaskStatusInput) ProtoMessage()
- func (m *SetTaskStatusInput) Reset()
- func (m *SetTaskStatusInput) String() string
- func (m *SetTaskStatusInput) XXX_DiscardUnknown()
- func (m *SetTaskStatusInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SetTaskStatusInput) XXX_Merge(src proto.Message)
- func (m *SetTaskStatusInput) XXX_Size() int
- func (m *SetTaskStatusInput) XXX_Unmarshal(b []byte) error
- type TaskStatus
- type Void
- func (*Void) Descriptor() ([]byte, []int)
- func (*Void) ProtoMessage()
- func (m *Void) Reset()
- func (m *Void) String() string
- func (m *Void) XXX_DiscardUnknown()
- func (m *Void) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Void) XXX_Merge(src proto.Message)
- func (m *Void) XXX_Size() int
- func (m *Void) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var TaskStatus_name = map[int32]string{
0: "NOT_SENT",
1: "SENT",
2: "RECEIVED",
3: "COMPLETED",
}
View Source
var TaskStatus_value = map[string]int32{
"NOT_SENT": 0,
"SENT": 1,
"RECEIVED": 2,
"COMPLETED": 3,
}
Functions ¶
func RegisterMicrologProxyHubServer ¶
func RegisterMicrologProxyHubServer(s *grpc.Server, srv MicrologProxyHubServer)
Types ¶
type AvailableDSKFStreamInput ¶
type AvailableDSKFStreamInput struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AvailableDSKFStreamInput) Descriptor ¶
func (*AvailableDSKFStreamInput) Descriptor() ([]byte, []int)
func (*AvailableDSKFStreamInput) ProtoMessage ¶
func (*AvailableDSKFStreamInput) ProtoMessage()
func (*AvailableDSKFStreamInput) Reset ¶
func (m *AvailableDSKFStreamInput) Reset()
func (*AvailableDSKFStreamInput) String ¶
func (m *AvailableDSKFStreamInput) String() string
func (*AvailableDSKFStreamInput) XXX_DiscardUnknown ¶
func (m *AvailableDSKFStreamInput) XXX_DiscardUnknown()
func (*AvailableDSKFStreamInput) XXX_Marshal ¶
func (m *AvailableDSKFStreamInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AvailableDSKFStreamInput) XXX_Merge ¶
func (dst *AvailableDSKFStreamInput) XXX_Merge(src proto.Message)
func (*AvailableDSKFStreamInput) XXX_Size ¶
func (m *AvailableDSKFStreamInput) XXX_Size() int
func (*AvailableDSKFStreamInput) XXX_Unmarshal ¶
func (m *AvailableDSKFStreamInput) XXX_Unmarshal(b []byte) error
type AvailableDSKFStreamOutput ¶
type AvailableDSKFStreamOutput struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AvailableDSKFStreamOutput) Descriptor ¶
func (*AvailableDSKFStreamOutput) Descriptor() ([]byte, []int)
func (*AvailableDSKFStreamOutput) GetId ¶ added in v1.0.4
func (m *AvailableDSKFStreamOutput) GetId() int64
func (*AvailableDSKFStreamOutput) ProtoMessage ¶
func (*AvailableDSKFStreamOutput) ProtoMessage()
func (*AvailableDSKFStreamOutput) Reset ¶
func (m *AvailableDSKFStreamOutput) Reset()
func (*AvailableDSKFStreamOutput) String ¶
func (m *AvailableDSKFStreamOutput) String() string
func (*AvailableDSKFStreamOutput) XXX_DiscardUnknown ¶
func (m *AvailableDSKFStreamOutput) XXX_DiscardUnknown()
func (*AvailableDSKFStreamOutput) XXX_Marshal ¶
func (m *AvailableDSKFStreamOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AvailableDSKFStreamOutput) XXX_Merge ¶
func (dst *AvailableDSKFStreamOutput) XXX_Merge(src proto.Message)
func (*AvailableDSKFStreamOutput) XXX_Size ¶
func (m *AvailableDSKFStreamOutput) XXX_Size() int
func (*AvailableDSKFStreamOutput) XXX_Unmarshal ¶
func (m *AvailableDSKFStreamOutput) XXX_Unmarshal(b []byte) error
type DeepPingOutput ¶
type DeepPingOutput struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeepPingOutput) Descriptor ¶
func (*DeepPingOutput) Descriptor() ([]byte, []int)
func (*DeepPingOutput) GetValue ¶
func (m *DeepPingOutput) GetValue() string
func (*DeepPingOutput) ProtoMessage ¶
func (*DeepPingOutput) ProtoMessage()
func (*DeepPingOutput) Reset ¶
func (m *DeepPingOutput) Reset()
func (*DeepPingOutput) String ¶
func (m *DeepPingOutput) String() string
func (*DeepPingOutput) XXX_DiscardUnknown ¶
func (m *DeepPingOutput) XXX_DiscardUnknown()
func (*DeepPingOutput) XXX_Marshal ¶
func (m *DeepPingOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeepPingOutput) XXX_Merge ¶
func (dst *DeepPingOutput) XXX_Merge(src proto.Message)
func (*DeepPingOutput) XXX_Size ¶
func (m *DeepPingOutput) XXX_Size() int
func (*DeepPingOutput) XXX_Unmarshal ¶
func (m *DeepPingOutput) XXX_Unmarshal(b []byte) error
type MicrologProxyHubClient ¶
type MicrologProxyHubClient interface { DeepPing(ctx context.Context, in *Void, opts ...grpc.CallOption) (*DeepPingOutput, error) SetTaskStatus(ctx context.Context, in *SetTaskStatusInput, opts ...grpc.CallOption) (*Void, error) AvailableDSKFStream(ctx context.Context, in *AvailableDSKFStreamInput, opts ...grpc.CallOption) (MicrologProxyHub_AvailableDSKFStreamClient, error) }
MicrologProxyHubClient is the client API for MicrologProxyHub service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMicrologProxyHubClient ¶
func NewMicrologProxyHubClient(cc *grpc.ClientConn) MicrologProxyHubClient
type MicrologProxyHubServer ¶
type MicrologProxyHubServer interface { DeepPing(context.Context, *Void) (*DeepPingOutput, error) SetTaskStatus(context.Context, *SetTaskStatusInput) (*Void, error) AvailableDSKFStream(*AvailableDSKFStreamInput, MicrologProxyHub_AvailableDSKFStreamServer) error }
MicrologProxyHubServer is the server API for MicrologProxyHub service.
type MicrologProxyHub_AvailableDSKFStreamClient ¶
type MicrologProxyHub_AvailableDSKFStreamClient interface { Recv() (*AvailableDSKFStreamOutput, error) grpc.ClientStream }
type MicrologProxyHub_AvailableDSKFStreamServer ¶
type MicrologProxyHub_AvailableDSKFStreamServer interface { Send(*AvailableDSKFStreamOutput) error grpc.ServerStream }
type SetTaskStatusInput ¶
type SetTaskStatusInput struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Status TaskStatus `protobuf:"varint,2,opt,name=status,proto3,enum=mhubapi.TaskStatus" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetTaskStatusInput) Descriptor ¶
func (*SetTaskStatusInput) Descriptor() ([]byte, []int)
func (*SetTaskStatusInput) GetId ¶ added in v1.0.4
func (m *SetTaskStatusInput) GetId() int64
func (*SetTaskStatusInput) GetStatus ¶
func (m *SetTaskStatusInput) GetStatus() TaskStatus
func (*SetTaskStatusInput) ProtoMessage ¶
func (*SetTaskStatusInput) ProtoMessage()
func (*SetTaskStatusInput) Reset ¶
func (m *SetTaskStatusInput) Reset()
func (*SetTaskStatusInput) String ¶
func (m *SetTaskStatusInput) String() string
func (*SetTaskStatusInput) XXX_DiscardUnknown ¶
func (m *SetTaskStatusInput) XXX_DiscardUnknown()
func (*SetTaskStatusInput) XXX_Marshal ¶
func (m *SetTaskStatusInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetTaskStatusInput) XXX_Merge ¶
func (dst *SetTaskStatusInput) XXX_Merge(src proto.Message)
func (*SetTaskStatusInput) XXX_Size ¶
func (m *SetTaskStatusInput) XXX_Size() int
func (*SetTaskStatusInput) XXX_Unmarshal ¶
func (m *SetTaskStatusInput) XXX_Unmarshal(b []byte) error
type TaskStatus ¶
type TaskStatus int32
const ( TaskStatus_NOT_SENT TaskStatus = 0 TaskStatus_SENT TaskStatus = 1 TaskStatus_RECEIVED TaskStatus = 2 TaskStatus_COMPLETED TaskStatus = 3 )
func (TaskStatus) EnumDescriptor ¶
func (TaskStatus) EnumDescriptor() ([]byte, []int)
func (TaskStatus) String ¶
func (x TaskStatus) String() string
type Void ¶
type Void struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Void) Descriptor ¶
func (*Void) ProtoMessage ¶
func (*Void) ProtoMessage()
func (*Void) XXX_DiscardUnknown ¶
func (m *Void) XXX_DiscardUnknown()
func (*Void) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.