View Source Teiserver.System.ClusterMember (Teiserver v0.0.4)

Match

A clustering method making use of a database to setup and update the cluster.

Attributes

  • :host - The host name, e.g. "server1.host.co.uk"

Summary

Functions

Builds a changeset based on the struct and params.

Types

@type id() :: Ecto.UUID.t()
@type t() :: %Teiserver.System.ClusterMember{
  __meta__: term(),
  host: String.t(),
  id: id(),
  inserted_at: term(),
  updated_at: term()
}

Functions

Link to this function

changeset(struct, attrs \\ %{})

View Source
@spec changeset(map(), map()) :: Ecto.Changeset.t()

Builds a changeset based on the struct and params.