@ -11,6 +11,7 @@ It is generated from these files:
It has these top - level messages :
UserRequest
UserInfoByUsername
UserInfoById
UserInfoByUsercode
UserResponse
LoginRequest
@ -84,6 +85,31 @@ func (m *UserInfoByUsername) GetUsername() string {
return ""
}
// 使用userid查询用户信息请求结构
type UserInfoById struct {
Dbname * string ` protobuf:"bytes,1,opt,name=dbname" json:"dbname,omitempty" `
Userid * string ` protobuf:"bytes,2,opt,name=userid" json:"userid,omitempty" `
XXX_unrecognized [ ] byte ` json:"-" `
}
func ( m * UserInfoById ) Reset ( ) { * m = UserInfoById { } }
func ( m * UserInfoById ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * UserInfoById ) ProtoMessage ( ) { }
func ( m * UserInfoById ) GetDbname ( ) string {
if m != nil && m . Dbname != nil {
return * m . Dbname
}
return ""
}
func ( m * UserInfoById ) GetUserid ( ) string {
if m != nil && m . Userid != nil {
return * m . Userid
}
return ""
}
// 使用usercode查询用户信息请求结构
type UserInfoByUsercode struct {
Dbname * string ` protobuf:"bytes,1,opt,name=dbname" json:"dbname,omitempty" `
@ -452,7 +478,11 @@ type UserService interface {
GetByUsercode ( in * UserInfoByUsercode , out * UserResponse ) error
BindThird ( in * Request , out * Response ) error
GetThird ( in * Request , out * Response ) error
GetUserThird ( in * Request , out * Response ) error
GetBusiness ( in * Request , out * Response ) error
GetById ( in * Request , out * Response ) error
GetBusinessInfo ( in * Request , out * Response ) error
GetAddressInfo ( in * Request , out * Response ) error
}
// AcceptUserServiceClient accepts connections on the listener and serves requests
@ -542,9 +572,21 @@ func (c *UserServiceClient) BindThird(in *Request, out *Response) error {
func ( c * UserServiceClient ) GetThird ( in * Request , out * Response ) error {
return c . Call ( "UserService.GetThird" , in , out )
}
func ( c * UserServiceClient ) GetUserThird ( in * Request , out * Response ) error {
return c . Call ( "UserService.GetUserThird" , in , out )
}
func ( c * UserServiceClient ) GetBusiness ( in * Request , out * Response ) error {
return c . Call ( "UserService.GetBusiness" , in , out )
}
func ( c * UserServiceClient ) GetById ( in * Request , out * Response ) error {
return c . Call ( "UserService.GetById" , in , out )
}
func ( c * UserServiceClient ) GetBusinessInfo ( in * Request , out * Response ) error {
return c . Call ( "UserService.GetBusinessInfo" , in , out )
}
func ( c * UserServiceClient ) GetAddressInfo ( in * Request , out * Response ) error {
return c . Call ( "UserService.GetAddressInfo" , in , out )
}
// DialUserService connects to an UserService at the specified network address.
func DialUserService ( network , addr string ) ( * UserServiceClient , * rpc . Client , error ) {