gitee

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func (*Client) GetOrgRepos

func (c *Client) GetOrgRepos(ctx context.Context, orgName string) (repos []Repo, err error)

func (*Client) GetOrgs

func (c *Client) GetOrgs(ctx context.Context) (orgs []Org, err error)

func (*Client) GetUserRepos

func (c *Client) GetUserRepos(ctx context.Context) (repos []Repo, err error)

func (*Client) Invoke

func (c *Client) Invoke(ctx context.Context, fn func(r *resty.Request) (*resty.Response, error)) (err error)

type Hosting

type Hosting struct{}

func (Hosting) List

func (h Hosting) List(ctx context.Context, opts gitdump.HostingOptions) (out []gitdump.HostingRepo, err error)

type ListService

type ListService[T any] struct {
	// contains filtered or unexported fields
}

func (*ListService[T]) Invoke

func (c *ListService[T]) Invoke(ctx context.Context, fn func(r *resty.Request) (*resty.Response, error)) (out []T, err error)

type Org

type Org struct {
	Login string `json:"login"`
}

type Repo

type Repo struct {
	FullName string `json:"full_name"`
	HTMLURL  string `json:"html_url"`
}

Jump to

Keyboard shortcuts

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