urldispatcher

package
v0.0.0-...-b2761b6 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2014 License: GPL-3.0, GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package urldispatcher wraps the url dispatcher's dbus api point

Index

Constants

This section is empty.

Variables

View Source
var BusAddress bus.Address = bus.Address{
	Interface: "com.canonical.URLDispatcher",
	Path:      "/com/canonical/URLDispatcher",
	Name:      "com.canonical.URLDispatcher",
}

UrlDispatcher lives on a well-known bus.Address

Functions

This section is empty.

Types

type URLDispatcher

type URLDispatcher interface {
	DispatchURL(string) error
}

A URLDispatcher is a simple beast, with a single method that does what it says on the box.

func New

func New(endp bus.Endpoint, log logger.Logger) URLDispatcher

New builds a new URL dispatcher that uses the provided bus.Endpoint

Jump to

Keyboard shortcuts

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