INNER CODE UNIT · Go

_

3n21c0/hello-auth-grpc · auth/auth.pb.go:21

	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

// Request contains user credentials for authentication.
type Request struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// username is the user's login name (8-64 characters)
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// password is the user's password (8-128 characters)
	Password      string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Request) Reset() {
	*x = Request{}
	mi := &file_auth_auth_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…