gitea

package
v1.5.193 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2020 License: BSD-3-Clause Imports: 19 Imported by: 5

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 added in v1.5.152

func NewWebHookService() scm.WebhookService

NewWebHookService creates a new instance of the webhook service without the rest of the client

func NewWithBasicAuth added in v1.5.173

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

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

func NewWithToken added in v1.5.161

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