Versions in this module Expand all Collapse all v0 v0.2.4 Jul 9, 2021 Changes in this version + var File_gosdn_core_core_proto protoreflect.FileDescriptor + var SetResponseStatus_name = map[int32]string + var SetResponseStatus_value = map[string]int32 + func RegisterCoreServer(s *grpc.Server, srv CoreServer) + type CoreClient interface + Get func(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) + Set func(ctx context.Context, in *SetRequest, opts ...grpc.CallOption) (*SetResponse, error) + func NewCoreClient(cc grpc.ClientConnInterface) CoreClient + type CoreServer interface + Get func(context.Context, *GetRequest) (*GetResponse, error) + Set func(context.Context, *SetRequest) (*SetResponse, error) + type GetRequest struct + All bool + Pid []string + Timestamp int64 + func (*GetRequest) Descriptor() ([]byte, []int) + func (*GetRequest) ProtoMessage() + func (x *GetRequest) GetAll() bool + func (x *GetRequest) GetPid() []string + func (x *GetRequest) GetTimestamp() int64 + func (x *GetRequest) ProtoReflect() protoreflect.Message + func (x *GetRequest) Reset() + func (x *GetRequest) String() string + type GetResponse struct + Pnd []*pnd.PrincipalNetworkDomain + Timestamp int64 + func (*GetResponse) Descriptor() ([]byte, []int) + func (*GetResponse) ProtoMessage() + func (x *GetResponse) GetPnd() []*pnd.PrincipalNetworkDomain + func (x *GetResponse) GetTimestamp() int64 + func (x *GetResponse) ProtoReflect() protoreflect.Message + func (x *GetResponse) Reset() + func (x *GetResponse) String() string + type SetPnd struct + Description string + Name string + Sbi string + func (*SetPnd) Descriptor() ([]byte, []int) + func (*SetPnd) ProtoMessage() + func (x *SetPnd) GetDescription() string + func (x *SetPnd) GetName() string + func (x *SetPnd) GetSbi() string + func (x *SetPnd) ProtoReflect() protoreflect.Message + func (x *SetPnd) Reset() + func (x *SetPnd) String() string + type SetRequest struct + Pnd []*SetPnd + Timestamp int64 + func (*SetRequest) Descriptor() ([]byte, []int) + func (*SetRequest) ProtoMessage() + func (x *SetRequest) GetPnd() []*SetPnd + func (x *SetRequest) GetTimestamp() int64 + func (x *SetRequest) ProtoReflect() protoreflect.Message + func (x *SetRequest) Reset() + func (x *SetRequest) String() string + type SetResponse struct + Status SetResponseStatus + Timestamp int64 + func (*SetResponse) Descriptor() ([]byte, []int) + func (*SetResponse) ProtoMessage() + func (x *SetResponse) GetStatus() SetResponseStatus + func (x *SetResponse) GetTimestamp() int64 + func (x *SetResponse) ProtoReflect() protoreflect.Message + func (x *SetResponse) Reset() + func (x *SetResponse) String() string + type SetResponseStatus int32 + const SetResponse_ERROR + const SetResponse_OK + func (SetResponseStatus) Descriptor() protoreflect.EnumDescriptor + func (SetResponseStatus) EnumDescriptor() ([]byte, []int) + func (SetResponseStatus) Type() protoreflect.EnumType + func (x SetResponseStatus) Enum() *SetResponseStatus + func (x SetResponseStatus) Number() protoreflect.EnumNumber + func (x SetResponseStatus) String() string + type UnimplementedCoreServer struct + func (*UnimplementedCoreServer) Get(context.Context, *GetRequest) (*GetResponse, error) + func (*UnimplementedCoreServer) Set(context.Context, *SetRequest) (*SetResponse, error)