events: Index | Files | Directories

package events

import ""

Package events provides an events service definition.


Package Files


type ExternalService Uses

type ExternalService interface {
    // Log logs the event.
    // event.Time time zone must be UTC.
    Log(ctx context.Context, event event.Event) error

ExternalService for events.

type Service Uses

type Service interface {
    // List lists events.
    List(ctx context.Context) ([]event.Event, error)


Service for events.


eventPackage event defines event types.
fsPackage fs implements events.Service using a virtual filesystem.
githubapiPackage githubapi implements events.Service using GitHub API client.

Package events imports 2 packages (graph) and is imported by 7 packages. Updated 2018-10-23. Refresh now. Tools for package owners.