Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 328 for interfaces (0.25 sec)

  1. interfaces.go

    }
    
    type ParamsFilter interface {
    	ParamsFilter(ctx context.Context, sql string, params ...interface{}) (string, []interface{})
    }
    
    // ConnPool db conns pool interface
    type ConnPool interface {
    	PrepareContext(ctx context.Context, query string) (*sql.Stmt, error)
    	ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error)
    	QueryContext(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error)
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Sat Aug 19 13:33:31 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  2. schema/interfaces.go

    type CreateClausesInterface interface {
    	CreateClauses(*Field) []clause.Interface
    }
    
    // QueryClausesInterface query clauses interface
    type QueryClausesInterface interface {
    	QueryClauses(*Field) []clause.Interface
    }
    
    // UpdateClausesInterface update clauses interface
    type UpdateClausesInterface interface {
    	UpdateClauses(*Field) []clause.Interface
    }
    
    // DeleteClausesInterface delete clauses interface
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Sun Feb 04 07:49:19 GMT 2024
    - 980 bytes
    - Viewed (0)
  3. callbacks/interfaces.go

    package callbacks
    
    import "gorm.io/gorm"
    
    type BeforeCreateInterface interface {
    	BeforeCreate(*gorm.DB) error
    }
    
    type AfterCreateInterface interface {
    	AfterCreate(*gorm.DB) error
    }
    
    type BeforeUpdateInterface interface {
    	BeforeUpdate(*gorm.DB) error
    }
    
    type AfterUpdateInterface interface {
    	AfterUpdate(*gorm.DB) error
    }
    
    type BeforeSaveInterface interface {
    	BeforeSave(*gorm.DB) error
    }
    
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Thu Aug 27 07:03:57 GMT 2020
    - 667 bytes
    - Viewed (0)
  4. operator/cmd/mesh/operator-init.go

    	// inFilenames is the path to the input IstioOperator CR.
    	inFilename string
    
    	// common is shared operator args
    	common operatorCommonArgs
    }
    
    // kubeClients is a unit test override variable for client interfaces creation.
    var kubeClients = KubernetesClients
    
    func addOperatorInitFlags(cmd *cobra.Command, args *operatorInitArgs) {
    	hub, tag := buildversion.DockerInfo.Hub, buildversion.DockerInfo.Tag
    
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  5. cmd/config-versions.go

    }
    
    // serverConfigV33 is just like version '32', removes clientID from NATS and MQTT, and adds queueDir, queueLimit in all notification targets.
    type serverConfigV33 struct {
    	quick.Config `json:"-"` // ignore interfaces
    
    	Version string `json:"version"`
    
    	// S3 API configuration.
    	Credential auth.Credentials `json:"credential"`
    	Region     string           `json:"region"`
    	Worm       config.BoolFlag  `json:"worm"`
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Oct 18 18:05:24 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  6. cmd/sftp-server-driver.go

    	source := getSource(2)
    	return func(err error) {
    		globalTrace.Publish(sftpTrace(s, startTime, source, user, err))
    	}
    }
    
    // NewSFTPDriver initializes sftp.Handlers implementation of following interfaces
    //
    // - sftp.Fileread
    // - sftp.Filewrite
    // - sftp.Filelist
    // - sftp.Filecmd
    func NewSFTPDriver(perms *ssh.Permissions) sftp.Handlers {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  7. cni/pkg/plugin/plugin_test.go

        },
        "prevResult": {
            "cniversion": "%s",
            "interfaces": [
                {
                    "name": "%s",
                    "sandbox": "%s"
                }
            ],
            "ips": [
                {
                    "version": "4",
                    "address": "10.0.0.2/24",
                    "gateway": "10.0.0.1",
                    "interface": 0
                }
            ],
            "routes": []
    
        },
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  8. cmd/server-main.go

    	setGlobalInternodeInterface(ctxt.Interface)
    
    	globalTCPOptions = xhttp.TCPOptions{
    		UserTimeout:        int(ctxt.UserTimeout.Milliseconds()),
    		ClientReadTimeout:  ctxt.ConnClientReadDeadline,
    		ClientWriteTimeout: ctxt.ConnClientWriteDeadline,
    		Interface:          ctxt.Interface,
    	}
    
    	// allow transport to be HTTP/1.1 for proxying.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 32.7K bytes
    - Viewed (1)
  9. cmd/postpolicyform.go

    	policyCondContentLength = "content-length-range"
    )
    
    // toString - Safely convert interface to string without causing panic.
    func toString(val interface{}) string {
    	switch v := val.(type) {
    	case string:
    		return v
    	default:
    		return ""
    	}
    }
    
    // toLowerString - safely convert interface to lower string
    func toLowerString(val interface{}) string {
    	return strings.ToLower(toString(val))
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  10. cmd/common-main.go

    	case ctx.GlobalIsSet("certs-dir"):
    		ctxt.CertsDir = ctx.GlobalString("certs-dir")
    		ctxt.certsDirSet = true
    	}
    
    	ctxt.FTP = ctx.StringSlice("ftp")
    	ctxt.SFTP = ctx.StringSlice("sftp")
    
    	ctxt.Interface = ctx.String("interface")
    	ctxt.UserTimeout = ctx.Duration("conn-user-timeout")
    	ctxt.ConnReadDeadline = ctx.Duration("conn-read-deadline")
    	ctxt.ConnWriteDeadline = ctx.Duration("conn-write-deadline")
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Apr 17 00:34:45 GMT 2024
    - 35.5K bytes
    - Viewed (2)
Back to top