__

package
v0.0.0-...-0dc16ad Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_name_server_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Error

type Error struct {
	Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg  string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*Error) Descriptor deprecated

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

Deprecated: Use Error.ProtoReflect.Descriptor instead.

func (*Error) GetCode

func (x *Error) GetCode() uint32

func (*Error) GetMsg

func (x *Error) GetMsg() string

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) ProtoReflect

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

func (*Error) Reset

func (x *Error) Reset()

func (*Error) String

func (x *Error) String() string

type GetNode

type GetNode struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` //user name
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	IsRepair bool   `protobuf:"varint,3,opt,name=isRepair,proto3" json:"isRepair,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNode) Descriptor deprecated

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

Deprecated: Use GetNode.ProtoReflect.Descriptor instead.

func (*GetNode) GetIsRepair

func (x *GetNode) GetIsRepair() bool

func (*GetNode) GetName

func (x *GetNode) GetName() string

func (*GetNode) GetPassword

func (x *GetNode) GetPassword() string

func (*GetNode) ProtoMessage

func (*GetNode) ProtoMessage()

func (*GetNode) ProtoReflect

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

func (*GetNode) Reset

func (x *GetNode) Reset()

func (*GetNode) String

func (x *GetNode) String() string

type NodeInfo

type NodeInfo struct {
	Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` // string name=2;//node name
	// contains filtered or unexported fields
}

func (*NodeInfo) Descriptor deprecated

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

Deprecated: Use NodeInfo.ProtoReflect.Descriptor instead.

func (*NodeInfo) GetAddr

func (x *NodeInfo) GetAddr() string

func (*NodeInfo) ProtoMessage

func (*NodeInfo) ProtoMessage()

func (*NodeInfo) ProtoReflect

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

func (*NodeInfo) Reset

func (x *NodeInfo) Reset()

func (*NodeInfo) String

func (x *NodeInfo) String() string

type Register

type Register struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	IDNumber string `protobuf:"bytes,3,opt,name=IDNumber,proto3" json:"IDNumber,omitempty"`
	// contains filtered or unexported fields
}

func (*Register) Descriptor deprecated

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

Deprecated: Use Register.ProtoReflect.Descriptor instead.

func (*Register) GetIDNumber

func (x *Register) GetIDNumber() string

func (*Register) GetName

func (x *Register) GetName() string

func (*Register) GetPassword

func (x *Register) GetPassword() string

func (*Register) ProtoMessage

func (*Register) ProtoMessage()

func (*Register) ProtoReflect

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

func (*Register) Reset

func (x *Register) Reset()

func (*Register) String

func (x *Register) String() string

Jump to

Keyboard shortcuts

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