Memcache.start_link

You're seeing just the function start_link, go back to Memcache module for more information.
Link to this function

start_link(connection_options \\ [], options \\ [])

View Source

Specs

start_link(Keyword.t(), Keyword.t()) :: GenServer.on_start()

Creates a connection using Memcache.Connection.start_link/2

Connection Options

This is a superset of the connection options accepted by the Memcache.Connection.start_link/2. The following list specifies the additional options.

  • :ttl - (integer) a default expiration time in seconds. This value will be used if the :ttl value is not specified for a operation. Defaults to 0(means forever).

  • :namespace - (string) prepend each key with the given value.

  • :key_coder - ({module, function}) Used to transform the key completely. The function needs to accept one argument, the key and return a new key.

  • :coder - (module | {module, options}) Can be either a module or tuple contains the module and options. Defaults to {Memcache.Coder.Raw, []}.

Options

The second option is passed directly to the underlying GenServer.start_link/3, so it can be used to create named process.