We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi @reachfh,
is there a sample on how to use the Poller? I try to understand how the callback module needs to look like, and how the Poller can be started...
This here ain't right?
defmodule X do def init(args) do IO.inspect({:init, args}) {:ok, args} end def get_csr(domain) do IO.inspect({:get_csr, domain}) {:ok, nil} end def process_certificate(order, certificate) do IO.inspect({:process_certificate, order, certificate}) :ok end def ack_order(order) do IO.inspect({:ack_order, order}) end def invalid_order(order) do IO.inspect({:invalid_order, order}) end def handle_finalization_error(order, error) do IO.inspect({:handle_finalization_error, order, error}) end def publish_challenge_responses(responses) do IO.inspect({:publish_challenge_responses, responses}) end end {:ok, poller_pid} = AcmeClient.Poller.start_link( %{ session: session, identifiers: ["foo.contoso.com"], cb_mod: X } )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi @reachfh,
is there a sample on how to use the Poller? I try to understand how the callback module needs to look like, and how the Poller can be started...
This here ain't right?
The text was updated successfully, but these errors were encountered: