testbase

package
v0.0.0-...-833a7b1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildIPublishMessage

func BuildIPublishMessage(c *service.Client, value interface{}, module string, method string) *message.PublishMessage

func InitClient

func InitClient() *service.Client

func InitConnect

func InitConnect(t *testing.T) (*service.Client, chan *gate.AllResponse)

func Login

func Login(t *testing.T) (*service.Client, *base.BaseUser, chan *gate.AllResponse)

func LoginI

func LoginI(client *service.Client, user1 *base.BaseUser, callback chan *gate.AllResponse) (err error)

func LoginUser

func LoginUser(t *testing.T, user *base.BaseUser) (*service.Client, chan *gate.AllResponse)

func RegisterUser

func RegisterUser(t *testing.T, user1 *base.BaseUser) (err error, client *service.Client, checkChan chan *gate.AllResponse)

func SendMessage

func SendMessage(c *service.Client, checkChan chan *gate.AllResponse, publishMessage *message.PublishMessage) (err error, response *gate.AllResponse)

func SendMessageWithCheck

func SendMessageWithCheck(c *service.Client, checkChan chan *gate.AllResponse, publishMessage *message.PublishMessage, t *testing.T) (response *gate.AllResponse)

func SubI

func SubI(client *service.Client, checkChan chan *gate.AllResponse) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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