plugins

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DEMO_SERVICE_NAME = "demosrv"
View Source
var FOLLOW_SERVICE_NAME = "followsrv"
View Source
var POST_SERVICE_NAME = "postsrv"

Functions

This section is empty.

Types

type DemoService

type DemoService struct {
	node.Service
	// contains filtered or unexported fields
}

func NewDemoService

func NewDemoService(ctx *node.ServiceContext) (*DemoService, error)

service constructor

func (*DemoService) Start

func (p *DemoService) Start(node *node.Node) error

func (*DemoService) Stop

func (p *DemoService) Stop() error

type FollowService

type FollowService struct {
	node.Service
	// contains filtered or unexported fields
}

func NewFollowService

func NewFollowService(ctx *node.ServiceContext) (*FollowService, error)

service constructor

func (*FollowService) Start

func (p *FollowService) Start(node *node.Node) error

func (*FollowService) Stop

func (p *FollowService) Stop() error

type PostService

type PostService struct {
	node.Service
	// contains filtered or unexported fields
}

func NewPostService

func NewPostService(ctx *node.ServiceContext) (*PostService, error)

service constructor

func (*PostService) Start

func (p *PostService) Start(node *node.Node) error

func (*PostService) Stop

func (p *PostService) Stop() error

Jump to

Keyboard shortcuts

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