community: github.com/documize/community/domain/section/github Index | Files

package github

import "github.com/documize/community/domain/section/github"

Index

Package Files

auth.go commits.go commits_template.go github.go issues.go issues_template.go lists.go milestones.go milestones_template.go model.go sort.go summary.go summary_template.go

func Callback Uses

func Callback(rt *env.Runtime, s *domain.Store, res http.ResponseWriter, req *http.Request) error

Callback is called by a browser redirect from Github, via the validation endpoint

type Provider Uses

type Provider struct {
    Runtime *env.Runtime
    Store   *domain.Store
}

Provider represents GitHub

func (*Provider) Command Uses

func (p *Provider) Command(ctx *provider.Context, w http.ResponseWriter, r *http.Request)

Command to run the various functions required...

func (*Provider) Meta Uses

func (*Provider) Meta() provider.TypeMeta

Meta describes us.

func (*Provider) Refresh Uses

func (p *Provider) Refresh(ctx *provider.Context, configJSON, data string) string

Refresh ... gets the latest version

func (*Provider) Render Uses

func (p *Provider) Render(ctx *provider.Context, config, data string) string

Render ... just returns the data given, suitably formatted

Package github imports 17 packages (graph). Updated 2018-11-10. Refresh now. Tools for package owners.