Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ReplyCode_name = map[int32]string{ 0: "UNSPECIFIED", 1: "AUTHORIZE_ACK", } ReplyCode_value = map[string]int32{ "UNSPECIFIED": 0, "AUTHORIZE_ACK": 1, } )
Enum value maps for ReplyCode.
View Source
var ( // optional cluster.Services reply_service = 60000; E_ReplyService = &file_auth_message_proto_extTypes[0] // optional auth.ReplyCode reply_code = 60001; E_ReplyCode = &file_auth_message_proto_extTypes[1] )
Extension fields to descriptorpb.MessageOptions.
View Source
var File_auth_message_proto protoreflect.FileDescriptor
Functions ¶
func PackAuthorizeAck ¶
func PackAuthorizeAck(msg *AuthorizeAck) (*nh.Reply, error)
Types ¶
type AuthorizeAck ¶
type AuthorizeAck struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*AuthorizeAck) Descriptor
deprecated
func (*AuthorizeAck) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizeAck.ProtoReflect.Descriptor instead.
func (*AuthorizeAck) GetUserId ¶
func (x *AuthorizeAck) GetUserId() string
func (*AuthorizeAck) ProtoMessage ¶
func (*AuthorizeAck) ProtoMessage()
func (*AuthorizeAck) ProtoReflect ¶
func (x *AuthorizeAck) ProtoReflect() protoreflect.Message
func (*AuthorizeAck) Reset ¶
func (x *AuthorizeAck) Reset()
func (*AuthorizeAck) String ¶
func (x *AuthorizeAck) String() string
type AuthorizeToken ¶
type AuthorizeToken struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*AuthorizeToken) Descriptor
deprecated
func (*AuthorizeToken) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizeToken.ProtoReflect.Descriptor instead.
func (*AuthorizeToken) GetToken ¶
func (x *AuthorizeToken) GetToken() string
func (*AuthorizeToken) ProtoMessage ¶
func (*AuthorizeToken) ProtoMessage()
func (*AuthorizeToken) ProtoReflect ¶
func (x *AuthorizeToken) ProtoReflect() protoreflect.Message
func (*AuthorizeToken) Reset ¶
func (x *AuthorizeToken) Reset()
func (*AuthorizeToken) String ¶
func (x *AuthorizeToken) String() string
type ReplyCode ¶
type ReplyCode int32
func (ReplyCode) Descriptor ¶
func (ReplyCode) Descriptor() protoreflect.EnumDescriptor
func (ReplyCode) EnumDescriptor
deprecated
func (ReplyCode) Number ¶
func (x ReplyCode) Number() protoreflect.EnumNumber
func (ReplyCode) Type ¶
func (ReplyCode) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.