messageadapter

package
v1.7.5 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MessageAdapter

func MessageAdapter(cfg *Config, p common.Publisher) *messageAdapter

Types

type Config

type Config struct {
	BioSet           common.TopicConfig `json:"bio_set"           required:"true"`
	AvatarSet        common.TopicConfig `json:"avatar_set"        required:"true"`
	OperateLog       string             `json:"operate_log"       required:"true"`
	UserSignedUp     common.TopicConfig `json:"user_signedup"     required:"true"`
	FollowingAdded   common.TopicConfig `json:"following_added"   required:"true"`
	FollowingRemoved common.TopicConfig `json:"following_removed" required:"true"`
}

Config

Jump to

Keyboard shortcuts

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