subscriber

package
v0.0.0-...-9930e9d Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2020 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Core

type Core struct {
	// contains filtered or unexported fields
}

func NewCore

func NewCore(q *redis.Redis, topicCore *topic.Core) *Core

func (*Core) CreateSubscriber

func (c *Core) CreateSubscriber(req Subscriber)

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(topicCore *topic.Core, subscriberCore *Core) *Server

func (*Server) CreateSubscriber

func (s *Server) CreateSubscriber(w http.ResponseWriter, r *http.Request)

type Subscriber

type Subscriber struct {
	Url         string `json:"url"`
	TimeoutInMs int    `json:"timeout_in_ms"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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