Documentation ¶
Index ¶
- type Server
- func (s *Server) GoogleCallback(code string) (*models.UserInfo, error)
- func (s *Server) GoogleLogin(w http.ResponseWriter, p runtime.Producer) string
- func (s *Server) NewClient(domain string, clientID string) *models.Credentials
- func (s *Server) TelegramCallback(code string) (*models.VkUserInfo, error)
- func (s *Server) TelegramLogin(w http.ResponseWriter, p runtime.Producer) string
- func (s *Server) VkCallback(code string) (*models.VkUserInfo, error)
- func (s *Server) VkLogin(w http.ResponseWriter, p runtime.Producer) string
- func (s *Server) YandexCallback(code string) (*models.UserInfo, error)
- func (s *Server) YandexLogin(w http.ResponseWriter, p runtime.Producer) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
func (*Server) GoogleCallback ¶
func (*Server) GoogleLogin ¶
func (*Server) NewClient ¶
func (s *Server) NewClient(domain string, clientID string) *models.Credentials
func (*Server) TelegramCallback ¶
func (s *Server) TelegramCallback(code string) (*models.VkUserInfo, error)
func (*Server) TelegramLogin ¶
func (*Server) VkCallback ¶
func (s *Server) VkCallback(code string) (*models.VkUserInfo, error)
func (*Server) YandexCallback ¶
func (*Server) YandexLogin ¶
Click to show internal directories.
Click to hide internal directories.