示例#1
0
        static void Main(string[] args)
        {
            var settings = new Settings();

            IOctopusConnection connection = new ElasticOctopusConnection();
            connection.Settings.SetValue("node", "nl6.jooble.com:9200");
            //connection.Settings.SetValue("login", "writer");
            connection.Settings.SetValue("password", "husq!51Ron2b");

            Console.WriteLine(connection.Check());

            if (Debugger.IsAttached)
                Console.ReadLine();
        }
 /// <summary>
 /// ctor
 /// </summary>
 public OctopusConnectionBase()
 {
     Settings = new Settings();
 }