confluence

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	HTTP          common.HttpClient
	Site          *url.URL
	Auth          common.Authentication
	Page          *internal.PageService
	Space         *internal.SpaceV2Service
	Attachment    *internal.AttachmentService
	CustomContent *internal.CustomContentService
}

func New

func New(httpClient common.HttpClient, site string) (*Client, error)

func (*Client) Call

func (c *Client) Call(request *http.Request, structure interface{}) (*models.ResponseScheme, error)

func (*Client) NewRequest

func (c *Client) NewRequest(ctx context.Context, method, urlStr, type_ string, body interface{}) (*http.Request, error)

Jump to

Keyboard shortcuts

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