chat

package
v0.0.0-...-e9f8cd1 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2019 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(
	config Config,
	logger *logrus.Logger,
	db *gorm.DB,
	pushCli pushpb.PushClient,
) error

func NewGRPCServer

func NewGRPCServer(opts ...grpc.ServerOption) (*grpc.Server, error)

Types

type Config

type Config struct {
}

func (*Config) Valid

func (cfg *Config) Valid() error

type SendFuncOption

type SendFuncOption func(*sendFuncOptions)

func WithCustomPushRequest

func WithCustomPushRequest(customPushRequest func(req *pushpb.PushRequest)) SendFuncOption

func WithMemberUids

func WithMemberUids(memberUids []string) SendFuncOption

Jump to

Keyboard shortcuts

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