Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTable ¶
func CreateTable(server *gin.Engine, userRepo repo.UserRepoInterface, loginTimeRepo repo.LoginTimeInterface)
func MemberServiceGroup ¶
func MemberServiceGroup(server *gin.Engine, userRepo repo.UserRepoInterface, loginTimeRepo repo.LoginTimeInterface)
func OAuth2Group ¶
func OAuth2Group(server *gin.Engine, userRepo repo.UserRepoInterface, loginTimeRepo repo.LoginTimeInterface)
Types ¶
type Server ¶
type Server struct { pb.UnimplementedAuthorizerServer RedisClient repo.LoginTimeInterface }
func (*Server) AuthorizeByToken ¶
func (s *Server) AuthorizeByToken(ctx context.Context, req *pb.AuthorizeToken) (*pb.AuthorizeResponse, error)
Click to show internal directories.
Click to hide internal directories.