proxy

package
v0.0.0-...-8cc41aa Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestApi

func TestApi(r *gin.RouterGroup, ns *Server) error

Types

type Person

type Person struct {
	Name string `json:"name"`
}

type Server

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

func (*Server) Connect

func (s *Server) Connect() error

func (*Server) Receive

func (s *Server) Receive(topic string) error

TODO need to close subscription

func (*Server) Send

func (s *Server) Send(topic string, payload interface{}) error

Jump to

Keyboard shortcuts

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