Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 109 for main (0.14 sec)

  1. cmd/main.go

    	return strings.NewReader(banner.String())
    }
    
    func printMinIOVersion(c *cli.Context) {
    	io.Copy(c.App.Writer, versionBanner(c))
    }
    
    // Main main for minio server.
    func Main(args []string) {
    	// Set the minio app name.
    	appName := filepath.Base(args[0])
    
    	if env.Get("_MINIO_DEBUG_NO_EXIT", "") != "" {
    		freeze := func(_ int) {
    			// Infinite blocking op
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  2. docs/debugging/pprofgoparser/main.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"bufio"
    	"bytes"
    	"flag"
    	"fmt"
    	"log"
    	"math"
    	"os"
    	"path"
    	"regexp"
    	"strconv"
    	"strings"
    	"time"
    )
    
    var (
    	goroutinesRE, searchRE *regexp.Regexp
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Mar 06 11:43:16 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  3. main.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main // import "github.com/minio/minio"
    
    import (
    	"os"
    
    	// MUST be first import.
    	_ "github.com/minio/minio/internal/init"
    
    	minio "github.com/minio/minio/cmd"
    )
    
    func main() {
    	minio.Main(os.Args)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 973 bytes
    - Viewed (0)
  4. docs/debugging/hash-set/main.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"bufio"
    	"bytes"
    	"encoding/binary"
    	"flag"
    	"fmt"
    	"hash/crc32"
    	"log"
    	"os"
    	"strings"
    
    	"github.com/dchest/siphash"
    	"github.com/google/uuid"
    )
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  5. docs/debugging/inspect/main.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"bufio"
    	crand "crypto/rand"
    	"crypto/rsa"
    	"crypto/x509"
    	"encoding/json"
    	"encoding/pem"
    	"errors"
    	"flag"
    	"fmt"
    	"io"
    	"os"
    	"strings"
    	"time"
    )
    
    var (
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  6. docs/debugging/s3-verify/main.go

    		Secure:    secure,
    		Transport: transport,
    	})
    	if err != nil {
    		return nil, err
    	}
    
    	return clnt, nil
    }
    
    func main() {
    	flag.StringVar(&sourceEndpoint, "source-endpoint", "https://play.min.io", "S3 endpoint URL")
    	flag.StringVar(&sourceAccessKey, "source-access-key", "Q3AM3UQ867SPQQA43P2F", "S3 Access Key")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jun 22 15:12:47 GMT 2022
    - 8.4K bytes
    - Viewed (0)
  7. docs/extensions/s3zip/examples/minio-go/main.go

    package main
    
    import (
    	"context"
    	"io"
    	"log"
    	"os"
    
    	"github.com/minio/minio-go/v7"
    	"github.com/minio/minio-go/v7/pkg/credentials"
    )
    
    func main() {
    	s3Client, err := minio.New("minio-server-address:9000", &minio.Options{
    		Creds: credentials.NewStaticV4("access-key", "secret-key", ""),
    	})
    	if err != nil {
    		log.Fatalln(err)
    	}
    
    	var opts minio.GetObjectOptions
    
    	// Add extract header to request:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jun 14 18:04:14 GMT 2021
    - 694 bytes
    - Viewed (0)
  8. docs/debugging/xattr/main.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"encoding/binary"
    	"errors"
    	"flag"
    	"fmt"
    	"log"
    	"os"
    
    	"github.com/olekukonko/tablewriter"
    	"github.com/pkg/xattr"
    )
    
    var (
    	path, name string
    	value      uint64
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Dec 29 23:52:41 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  9. docs/debugging/healing-bin/main.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"archive/zip"
    	"bytes"
    	"encoding/json"
    	"fmt"
    	"io"
    	"log"
    	"os"
    	"strings"
    
    	"github.com/minio/cli"
    	"github.com/tinylib/msgp/msgp"
    )
    
    func main() {
    	app := cli.NewApp()
    	app.Copyright = "MinIO, Inc."
    	app.Usage = "healing.bin to JSON"
    	app.HideVersion = true
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  10. docs/debugging/reorder-disks/main.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"bufio"
    	"encoding/json"
    	"errors"
    	"flag"
    	"fmt"
    	"log"
    	"net/url"
    	"os"
    	"path/filepath"
    	"strings"
    	"syscall"
    
    	"github.com/minio/pkg/v2/ellipses"
    )
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.4K bytes
    - Viewed (0)
Back to top