Packages

Aether ATProto is a set of common & shared logic to implement the AT Protocol

Current section

Files

Jump to
aether_atproto lib aether atproto did document services.ex
Raw

lib/aether/atproto/did/document/services.ex

defmodule Aether.ATProto.DID.Document.Service do
@moduledoc """
Represents a service endpoint in a DID Document.
"""
defstruct [:id, :type, :serviceEndpoint]
@type t :: %__MODULE__{
id: String.t(),
type: String.t(),
serviceEndpoint: String.t()
}
end