lib

package
v0.0.0-...-ae29d40 Latest Latest
Warning

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

Go to latest
Published: May 29, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthMethod

type AuthMethod interface {
	// contains filtered or unexported methods
}

func BasicAuth

func BasicAuth(username, password string) AuthMethod

type ConfluenceService

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

func NewConfluence

func NewConfluence(hostname string, auth AuthMethod) (*ConfluenceService, error)

func (*ConfluenceService) Fetch

func (c *ConfluenceService) Fetch(modifiedSince time.Time) ([]*pb.Document, error)

type Content

type Content struct {
	Id    string `json:"id"`
	Title string `json:"title"`
	Body  struct {
		Storage struct {
			Value string `json:"value"`
		} `json:"storage"`
	} `json:"body"`
	Version struct {
		When string `json:"when"`
	} `json:"version"`
	Links struct {
		WebUI string `json:"webui"`
	} `json:"_links"`
}

type Contents

type Contents struct {
	Results []Content
}

Source Files

  • auth.go
  • confluence.go

Jump to

Keyboard shortcuts

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