gitlabnet

package
v9.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UnixSocketProtocol = "http+unix://"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorResponse

type ErrorResponse struct {
	Message string `json:"message"`
}

type GitlabClient

type GitlabClient interface {
	Get(path string) (*http.Response, error)
	Post(path string, data interface{}) (*http.Response, error)
}

func GetClient

func GetClient(config *config.Config) (GitlabClient, error)

type GitlabSocketClient

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

func (*GitlabSocketClient) Get

func (c *GitlabSocketClient) Get(path string) (*http.Response, error)

func (*GitlabSocketClient) Post

func (c *GitlabSocketClient) Post(path string, data interface{}) (*http.Response, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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