gitea

package
v1.5.179 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2020 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Overview

Package gitea implements a Gitea client.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(uri string) (*scm.Client, error)

New returns a new Gitea API client without a token set

func NewWebHookService

func NewWebHookService() scm.WebhookService

func NewWithBasicAuth

func NewWithBasicAuth(uri string, user, password string) (*scm.Client, error)

NewWithBasicAuth returns a new Gitea API client with the basic auth set.

func NewWithToken

func NewWithToken(uri string, token string) (*scm.Client, error)

NewWithToken returns a new Gitea API client with the token set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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