message

package
v0.0.0-...-f7da856 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2021 License: BSD-2-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IdentityClient

type IdentityClient interface {
	Get(int64) (*identity.Identity, error)
	GetByIdentity(*pubsub.IdentityReq) (*identity.Identity, error)
	Delete(int64) (bool, error)
	Exist(int64) (bool, error)
	ExistIdentity(*pubsub.IdentityReq) (bool, error)
}

type Reply

type Reply interface {
	Publish(string, *pubsub.IdentityReply)
	Start(string, IdentityClient, ReplyFn) error
	Stop() error
}

type Request

type Request interface {
	UserRequest(string, *pubsub.IdRequest, time.Duration) (*pubsub.UserReply, error)
	UserRequestWithContext(context.Context, string, *pubsub.IdRequest) (*pubsub.UserReply, error)
	IsActive() bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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