Intended to manage server side running of Gink. Basically it takes some settings in the form of arguments plus a list of peers to connect to then starts up the Gink Instance, or Gink Server if port listening is specified.

Constructors

  • Parameters

    • args: {
          auth_token?: string;
          connect_to?: string[];
          data_file?: string;
          exclusive?: boolean;
          identity?: string;
          listen_on?: string;
          reconnect?: boolean;
          ssl_cert?: string;
          ssl_key?: string;
          static_path?: string;
          verbose?: boolean;
      }

    Returns CommandLineInterface

Properties

authToken?: string
instance?: Database
logger: (_: string) => void
replServer?: REPLServer
retryOnDisconnect: boolean
store?: Store
targets: string[]

Methods