oauthgitlab

package
v5.9.2-rc1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2019 License: AGPL-3.0, Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitLabProvider

type GitLabProvider struct {
}

func (*GitLabProvider) GetUserFromJson

func (m *GitLabProvider) GetUserFromJson(data io.Reader) *model.User

type GitLabUser

type GitLabUser struct {
	Id       int64  `json:"id"`
	Username string `json:"username"`
	Login    string `json:"login"`
	Email    string `json:"email"`
	Name     string `json:"name"`
}

func (*GitLabUser) IsValid

func (glu *GitLabUser) IsValid() bool

func (*GitLabUser) ToJson

func (glu *GitLabUser) ToJson() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL