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: 0

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