xmpp

package
v0.0.0-...-0dfd57a Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Service xmpp provides access to the sarif network over XMPP.

Index

Constants

This section is empty.

Variables

View Source
var Module = &services.Module{
	Name:        "xmpp",
	Version:     "1.0",
	NewInstance: New,
}

Functions

This section is empty.

Types

type Client

type Client struct {
	Log           sfproto.Logger
	ClientFactory sarif.ClientFactory
	// contains filtered or unexported fields
}

func New

func New(deps *Dependencies) *Client

func (*Client) Enable

func (c *Client) Enable() (err error)

type Config

type Config struct {
	Server   string
	User     string
	Domain   string
	Password string
}

type Dependencies

type Dependencies struct {
	Config        services.Config
	ClientFactory sarif.ClientFactory
	Log           sfproto.Logger
}

Jump to

Keyboard shortcuts

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