message

package
v0.0.0-...-fe898d5 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateMessageParm

type CreateMessageParm struct {
}

type MessageService

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

func NewMessageService

func NewMessageService(_ context.Context, param MessageServiceParam) *MessageService

func (*MessageService) GetMessageByUser

func (i *MessageService) GetMessageByUser(ctx context.Context, username string) error

func (*MessageService) GetMessageByUser2

func (i *MessageService) GetMessageByUser2(ctx context.Context, param CreateMessageParm) error

type MessageServiceCacheI

type MessageServiceCacheI interface {
	GetMessageCache(input string) string
}

type MessageServiceParam

type MessageServiceParam struct {
	MessageServiceCache MessageServiceCacheI
}

Jump to

Keyboard shortcuts

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