Tungsten v0.1.0 Tungsten.Codegen.Domain View Source
Codegen for Domain
Link to this section Summary
Functions
Converts a CDP domain spec in map format to a Tungsten.Codegen.Domain struct.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %Tungsten.Codegen.Domain{
commands: [Tungsten.Codegen.Command.t()],
dependencies: [String.t()],
deprecated?: boolean(),
description: String.t() | nil,
events: [Tungsten.Codegen.Event.t()],
experimental?: boolean(),
name: String.t(),
protocol: Tungsten.Codegen.Protocol.t(),
spec: map(),
types: [Tungsten.Codegen.DomainType.t()]
}
t() :: %Tungsten.Codegen.Domain{
commands: [Tungsten.Codegen.Command.t()],
dependencies: [String.t()],
deprecated?: boolean(),
description: String.t() | nil,
events: [Tungsten.Codegen.Event.t()],
experimental?: boolean(),
name: String.t(),
protocol: Tungsten.Codegen.Protocol.t(),
spec: map(),
types: [Tungsten.Codegen.DomainType.t()]
}
Link to this section Functions
Link to this function
from_spec(spec, protocol)
View Source
from_spec(spec, protocol)
View Source
from_spec(map(), Tungsten.Codegen.Protocol.t()) :: t()
from_spec(map(), Tungsten.Codegen.Protocol.t()) :: t()
Converts a CDP domain spec in map format to a Tungsten.Codegen.Domain struct.
Link to this function