v1

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2022 License: Apache-2.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_quadlek_plugins_github_v1_github_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AuthState

type AuthState struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	UserId      string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	ResponseUrl string `protobuf:"bytes,3,opt,name=response_url,json=responseUrl,proto3" json:"response_url,omitempty"`
	ExpireTime  int64  `protobuf:"varint,4,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthState) Descriptor deprecated

func (*AuthState) Descriptor() ([]byte, []int)

Deprecated: Use AuthState.ProtoReflect.Descriptor instead.

func (*AuthState) GetExpireTime

func (x *AuthState) GetExpireTime() int64

func (*AuthState) GetId

func (x *AuthState) GetId() string

func (*AuthState) GetResponseUrl

func (x *AuthState) GetResponseUrl() string

func (*AuthState) GetUserId

func (x *AuthState) GetUserId() string

func (*AuthState) ProtoMessage

func (*AuthState) ProtoMessage()

func (*AuthState) ProtoReflect

func (x *AuthState) ProtoReflect() protoreflect.Message

func (*AuthState) Reset

func (x *AuthState) Reset()

func (*AuthState) String

func (x *AuthState) String() string

type AuthToken

type AuthToken struct {
	Token      *Token   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Scopes     []string `protobuf:"bytes,2,rep,name=scopes,proto3" json:"scopes,omitempty"`
	GithubUser string   `protobuf:"bytes,3,opt,name=github_user,json=githubUser,proto3" json:"github_user,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthToken) Descriptor deprecated

func (*AuthToken) Descriptor() ([]byte, []int)

Deprecated: Use AuthToken.ProtoReflect.Descriptor instead.

func (*AuthToken) GetGithubUser

func (x *AuthToken) GetGithubUser() string

func (*AuthToken) GetScopes

func (x *AuthToken) GetScopes() []string

func (*AuthToken) GetToken

func (x *AuthToken) GetToken() *Token

func (*AuthToken) ProtoMessage

func (*AuthToken) ProtoMessage()

func (*AuthToken) ProtoReflect

func (x *AuthToken) ProtoReflect() protoreflect.Message

func (*AuthToken) Reset

func (x *AuthToken) Reset()

func (*AuthToken) String

func (x *AuthToken) String() string

type Token

type Token struct {
	AccessToken  string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	TokenType    string `protobuf:"bytes,2,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
	RefreshToken string `protobuf:"bytes,3,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	ExpiresAt    int64  `protobuf:"varint,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Token) Descriptor deprecated

func (*Token) Descriptor() ([]byte, []int)

Deprecated: Use Token.ProtoReflect.Descriptor instead.

func (*Token) GetAccessToken

func (x *Token) GetAccessToken() string

func (*Token) GetExpiresAt

func (x *Token) GetExpiresAt() int64

func (*Token) GetRefreshToken

func (x *Token) GetRefreshToken() string

func (*Token) GetTokenType

func (x *Token) GetTokenType() string

func (*Token) ProtoMessage

func (*Token) ProtoMessage()

func (*Token) ProtoReflect

func (x *Token) ProtoReflect() protoreflect.Message

func (*Token) Reset

func (x *Token) Reset()

func (*Token) String

func (x *Token) String() string

Jump to

Keyboard shortcuts

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