gitlab

package module
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 License: MIT Imports: 10 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 Version = "0.0.9"

Version is the version of lighthouse

Functions

func LoadConfig

func LoadConfig() error

Types

type Client

type Client struct {
	Cfg *Config
}

func New

func New(cfg ...*Config) (*Client, error)

func (*Client) Branch

func (c *Client) Branch() branch.BranchImpl

func (*Client) Group

func (c *Client) Group() group.GroupImpl

func (*Client) MergeRequest

func (c *Client) MergeRequest() merge_request.MergeRequestImpl

func (*Client) Repository

func (c *Client) Repository() repository.RepositoryImpl

func (*Client) Request

func (c *Client) Request(cfg *request.Config, payload *request.Payload) (*request.Response, error)

func (*Client) User added in v0.0.5

func (c *Client) User() user.UserImpl

func (*Client) WebHook

func (c *Client) WebHook() webhook.WebHookImpl

type Config

type Config struct {
	Service string
	Token   string
	Version string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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