Pigeon v1.3.2 Pigeon.FCM.Config View Source
FCM Configuration for Pigeon
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %Pigeon.FCM.Config{
key: binary(),
name: term(),
port: pos_integer(),
uri: charlist()
}
t() :: %Pigeon.FCM.Config{ key: binary(), name: term(), port: pos_integer(), uri: charlist() }
Link to this section Functions
Link to this function
new(opts) View Source
Returns a new FCM.Config
with given opts
.
Examples
iex> Pigeon.FCM.Config.new(
...> name: :test,
...> key: "fcm_key",
...> uri: 'test.server.example.com',
...> port: 5228
...> )
%Pigeon.FCM.Config{key: "fcm_key", name: :test,
port: 5228, uri: 'test.server.example.com'}