Documentation
¶
Index ¶
- type Oauth2Server
- func (s *Oauth2Server) GetAuthCallbackUrl() string
- func (s *Oauth2Server) GetHtmlRoot() string
- func (s *Oauth2Server) GetPriAuth()
- func (s *Oauth2Server) RegisterEngine(engine *gin.Engine)
- func (s *Oauth2Server) RegisterPriGroup(g *gin.RouterGroup)
- func (s *Oauth2Server) RegisterPubGroup(g *gin.RouterGroup)
- func (s *Oauth2Server) StartServer(opts ...goc_mini_server.Option)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Oauth2Server ¶
type Oauth2Server struct {
Server *goc_mini_server.MiniServer
CallbackValuesChan chan url.Values
}
func (*Oauth2Server) GetAuthCallbackUrl ¶
func (s *Oauth2Server) GetAuthCallbackUrl() string
func (*Oauth2Server) GetHtmlRoot ¶
func (s *Oauth2Server) GetHtmlRoot() string
func (*Oauth2Server) GetPriAuth ¶
func (s *Oauth2Server) GetPriAuth()
func (*Oauth2Server) RegisterEngine ¶
func (s *Oauth2Server) RegisterEngine(engine *gin.Engine)
func (*Oauth2Server) RegisterPriGroup ¶
func (s *Oauth2Server) RegisterPriGroup(g *gin.RouterGroup)
func (*Oauth2Server) RegisterPubGroup ¶
func (s *Oauth2Server) RegisterPubGroup(g *gin.RouterGroup)
func (*Oauth2Server) StartServer ¶
func (s *Oauth2Server) StartServer(opts ...goc_mini_server.Option)
Click to show internal directories.
Click to hide internal directories.