im

package
v0.0.0-...-92ef796 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2020 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImImpl

type ImImpl struct {
	Config     *config.ServerConfig   `di:"~"`
	Logger     *logrus.Logger         `di:"~"`
	Mappers    *xentity.EntityMappers `di:"~"`
	JwtService *module.JwtService     `di:"~"`
	ConnDao    *dao.ConnDao           `di:"~"`

	ConnPairs []*po.ConnPair `di:"-"`
}

noinspection GoNameStartsWithPackageName

func NewImImpl

func NewImImpl(dic *xdi.DiContainer) *ImImpl

func (*ImImpl) Close

func (i *ImImpl) Close(w http.ResponseWriter, r *http.Request)

func (*ImImpl) Conn

func (i *ImImpl) Conn(w http.ResponseWriter, r *http.Request)

func (*ImImpl) GetMessages

func (i *ImImpl) GetMessages(ctx context.Context, req *pb.GetMessagesRequest) (*pb.MessagesResponse, error)

func (*ImImpl) SendMessage

func (i *ImImpl) SendMessage(ctx context.Context, req *pb.SendMessageRequest) (*pb.NullResponse, error)

Jump to

Keyboard shortcuts

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