Module erliam_srv

Server which creates and maintains an ets table containing aws credentials for use by other processes.

Copyright © (C) 2017, AdRoll

Behaviours: gen_server.

Description

Server which creates and maintains an ets table containing aws credentials for use by other processes. Refreshes the credentials ?MIN_LIFETIME seconds before expiration.

Data Types

state()

state() = #state{}

Function Index

current/0
handle_call/3
handle_cast/2
handle_info/2
init/1
invalidate/0
start_link/0
terminate/2

Function Details

current/0

current() -> any()

handle_call/3

handle_call(Request::term(), From::term(), State::state()) -> {reply, ok | {error, not_implemented}, state()}

handle_cast/2

handle_cast(Msg::term(), State::state()) -> {noreply, state()}

handle_info/2

handle_info(X1::refresh | term(), State::state()) -> {noreply, state()}

init/1

init(X1::noargs) -> {ok, state()} | {stop, term()}

invalidate/0

invalidate() -> any()

start_link/0

start_link() -> any()

terminate/2

terminate(Reason::term(), State::state()) -> ok


Generated by EDoc