xcode

package
v0.0.0-...-625724a Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2019 License: Apache-2.0 Imports: 2 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

This section is empty.

Functions

func Base

func Base(path string) func(o *Opts)

Base ...

Types

type Bot

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

Bot ...

func (*Bot) Create

func (b *Bot) Create(req *CreateBotRequest) (*CreateBotResponse, *Error, error)

New is adding a new job in chronos

type Client

type Client struct {
	Bot *Bot
	// contains filtered or unexported fields
}

Client ...

func New

func New(c *http.Client, opts ...Opt) *Client

New returns a new Xcode Client. If you provide an URL. For example,#

xcodeURL := "https://localhost"
httpClient := &http.Client{}
xcodeClient := chronos.New(chronosURL, httpClient)

chronosURL: is the URL of your Chronos with a slash at the end.

type Configuration

type Configuration struct {
}

Configuration ...

type CreateBotRequest

type CreateBotRequest struct {
	// Name ...
	Name string ``
	// Configuration ...
	Configuration *Configuration
}

CreateBotRequest ...

type CreateBotResponse

type CreateBotResponse struct {
	ID      string `json:"_id"`
	Rev     string `json:"_rev"`
	DocType string `json:"doc_type"`

	*CreateBotRequest
}

CreateBotResponse ...

type Error

type Error struct {
	Status  int
	Message string
}

Error ...

type Opt

type Opt func(*Opts)

Opt ...

type Opts

type Opts struct {
	Base string
}

Opts ...

Jump to

Keyboard shortcuts

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