api

package
v0.0.0-...-48477cc Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func DRPCRegisterMoonRakerService

func DRPCRegisterMoonRakerService(mux drpc.Mux, impl DRPCMoonRakerServiceServer) error

Types

type DRPCMoonRakerServiceClient

type DRPCMoonRakerServiceClient interface {
	DRPCConn() drpc.Conn

	Subscribe(ctx context.Context, in *SubReq) (*SubRes, error)
}

func NewDRPCMoonRakerServiceClient

func NewDRPCMoonRakerServiceClient(cc drpc.Conn) DRPCMoonRakerServiceClient

type DRPCMoonRakerServiceDescription

type DRPCMoonRakerServiceDescription struct{}

func (DRPCMoonRakerServiceDescription) Method

func (DRPCMoonRakerServiceDescription) NumMethods

func (DRPCMoonRakerServiceDescription) NumMethods() int

type DRPCMoonRakerServiceServer

type DRPCMoonRakerServiceServer interface {
	Subscribe(context.Context, *SubReq) (*SubRes, error)
}

type DRPCMoonRakerServiceUnimplementedServer

type DRPCMoonRakerServiceUnimplementedServer struct{}

func (*DRPCMoonRakerServiceUnimplementedServer) Subscribe

type DRPCMoonRakerService_SubscribeStream

type DRPCMoonRakerService_SubscribeStream interface {
	drpc.Stream
	SendAndClose(*SubRes) error
}

type Node

type Node struct {
	Name   string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Item   string `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
	Type   string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	// Types that are assignable to Value:
	//
	//	*Node_StringVal
	//	*Node_FloatVal
	//	*Node_BoolVal
	Value isNode_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*Node) Descriptor deprecated

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

Deprecated: Use Node.ProtoReflect.Descriptor instead.

func (*Node) GetBoolVal

func (x *Node) GetBoolVal() bool

func (*Node) GetFloatVal

func (x *Node) GetFloatVal() float64

func (*Node) GetItem

func (x *Node) GetItem() string

func (*Node) GetName

func (x *Node) GetName() string

func (*Node) GetStatus

func (x *Node) GetStatus() string

func (*Node) GetStringVal

func (x *Node) GetStringVal() string

func (*Node) GetType

func (x *Node) GetType() string

func (*Node) GetValue

func (m *Node) GetValue() isNode_Value

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) ProtoReflect

func (x *Node) ProtoReflect() protoreflect.Message

func (*Node) Reset

func (x *Node) Reset()

func (*Node) String

func (x *Node) String() string

type Node_BoolVal

type Node_BoolVal struct {
	BoolVal bool `protobuf:"varint,7,opt,name=bool_val,json=boolVal,proto3,oneof"`
}

type Node_FloatVal

type Node_FloatVal struct {
	FloatVal float64 `protobuf:"fixed64,6,opt,name=float_val,json=floatVal,proto3,oneof"`
}

type Node_StringVal

type Node_StringVal struct {
	StringVal string `protobuf:"bytes,5,opt,name=string_val,json=stringVal,proto3,oneof"`
}

type SubReq

type SubReq struct {
	// contains filtered or unexported fields
}

func (*SubReq) Descriptor deprecated

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

Deprecated: Use SubReq.ProtoReflect.Descriptor instead.

func (*SubReq) ProtoMessage

func (*SubReq) ProtoMessage()

func (*SubReq) ProtoReflect

func (x *SubReq) ProtoReflect() protoreflect.Message

func (*SubReq) Reset

func (x *SubReq) Reset()

func (*SubReq) String

func (x *SubReq) String() string

type SubRes

type SubRes struct {
	Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// contains filtered or unexported fields
}

func (*SubRes) Descriptor deprecated

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

Deprecated: Use SubRes.ProtoReflect.Descriptor instead.

func (*SubRes) GetNodes

func (x *SubRes) GetNodes() []*Node

func (*SubRes) ProtoMessage

func (*SubRes) ProtoMessage()

func (*SubRes) ProtoReflect

func (x *SubRes) ProtoReflect() protoreflect.Message

func (*SubRes) Reset

func (x *SubRes) Reset()

func (*SubRes) String

func (x *SubRes) String() string

Jump to

Keyboard shortcuts

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