githubstatus

package
v0.0.0-...-5f6fd8f Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GithubStatus

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

func (*GithubStatus) Description

func (x *GithubStatus) Description() string

func (*GithubStatus) Process

func (x *GithubStatus) Process(e transistor.Event) error

func (*GithubStatus) SampleConfig

func (x *GithubStatus) SampleConfig() string

func (*GithubStatus) Start

func (x *GithubStatus) Start(e chan transistor.Event) error

func (*GithubStatus) Stop

func (x *GithubStatus) Stop()

func (*GithubStatus) Subscribe

func (x *GithubStatus) Subscribe() []string

type Status

type Status struct {
	Url         string    `json:"url"`
	Id          int       `json:"id"`
	State       string    `json:"state"`
	Description string    `json:"description"`
	TargetUrl   string    `json:"target_url"`
	Context     string    `json:"context"`
	CreatedAt   time.Time `json:"created_at"`
	UpdatedAt   time.Time `json:"updated_at"`
}

type StatusResponse

type StatusResponse struct {
	State    string   `json:"state"`
	Statuses []Status `json:"statuses"`
}

Jump to

Keyboard shortcuts

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