HostKit.RPC.Exposure (host_kit v0.1.0-beta.7)

Copy Markdown View Source

RPC module exposed by a HostKit service.

Summary

Types

t()

@type t() :: %HostKit.RPC.Exposure{
  listener: atom() | String.t(),
  meta: map(),
  module: module()
}

Functions

new(module, opts \\ [])

@spec new(
  module(),
  keyword()
) :: t()