Documentation ¶
Index ¶
- type Server
- func (s *Server) ChangeInfo(context.Context, *Auth.ChangeInfoReq) (*Auth.ChangeInfoRsp, error)
- func (s *Server) GetAuthPubKey(ctx context.Context, req *Auth.GetAuthPubKeyReq) (*Auth.GetAuthPubKeyRsp, error)
- func (s *Server) Initial()
- func (s *Server) Login(ctx context.Context, code *Auth.UserPassword) (*Auth.LoginRsp, error)
- func (s *Server) SetAuthPubKey(ctx context.Context, req *Auth.SetAuthPubKeyReq) (*Auth.SetAuthPubKeyRsp, error)
- func (s *Server) SignUp(ctx context.Context, userInfo *Auth.UserInfo) (*Auth.SignUpRsp, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) ChangeInfo ¶
func (s *Server) ChangeInfo(context.Context, *Auth.ChangeInfoReq) (*Auth.ChangeInfoRsp, error)
func (*Server) GetAuthPubKey ¶
func (s *Server) GetAuthPubKey(ctx context.Context, req *Auth.GetAuthPubKeyReq) (*Auth.GetAuthPubKeyRsp, error)
Get someone PubKey
func (*Server) SetAuthPubKey ¶
func (s *Server) SetAuthPubKey(ctx context.Context, req *Auth.SetAuthPubKeyReq) (*Auth.SetAuthPubKeyRsp, error)
Click to show internal directories.
Click to hide internal directories.