Are you an LLM? You can read better optimized documentation at /docs/reference/libs/noti/firebase_message.md for this page in Markdown format
Import path:
gitlab.soludian.com/soludian/fountain/libs/noti/firebase_message
firebase_message
go
import "gitlab.soludian.com/soludian/fountain/libs/noti/firebase_message"Index
Constants
go
const (
KDefaultSMTPPort = 465
)go
const KPackageName = "firebase_message"Variables
go
var GetFountainInstance = Lib.GetFountainInstancego
var GetFountainManager = Lib.GetFountainManagerSử dụng khi config instance ở dạng key:value; Nếu config instance ở dạng key:array thì sử dụng hàm InstallFountainInstances Nếu config ở dạng key:array thì sẽ chỉ install config phần tử đầu tiên mà thôi
Install with config format <key>:<value>; eg: firebase_message:<value>
Usage:
config.yaml:
firebase_message:
name: default_name
...
code.go
firebase_message.InstallFountainInstance()
firebase_message.WithConfigKey("firebase_message").InstallFountainInstance()go
var InstallFountainInstance = Lib.InstallFountainInstanceSử dụng khi config instance ở dạng key:array<value>; Sẽ luôn cố gắng khởi tạo kể cả khi config ở dạng key:value
Install with config format <key>:array<value>; eg: firebase_message:array<value>
Usage:
config.yaml:
firebase_message:
- name: default_name
...
code.go
firebase_message.InstallFountainInstances()
firebase_message.WithConfigKey("firebase_message").InstallFountainInstances()go
var InstallFountainInstances = Lib.InstallFountainInstancesTruy cập thẳng tới bộ quản lý thư viện
go
var Lib = lib_3rd.NewLib(newClient, lib_3rd.WithDefaultConfigFunc[config, Client](DefaultConfig))go
var WithConfigKey = Lib.WithConfigKeytype Client
go
type Client struct {
*firebase.App
// contains filtered or unexported fields
}func (*Client) SendMessage
go
func (c *Client) SendMessage(msg *messaging.MulticastMessage) errorGenerated by gomarkdoc