Documentation
¶
Index ¶
- Constants
- func GetCertificate() tls.Certificate
- func Open(dsn string) gorm.Dialector
- func TelnetRoutine(c *telnet.Connection)
- type Dialector
- func (dialector Dialector) BindVarTo(writer clause.Writer, stmt *gorm.Statement, v interface{})
- func (dialector Dialector) ClauseBuilders() map[string]clause.ClauseBuilder
- func (dialector Dialector) DataTypeOf(field *schema.Field) string
- func (dialector Dialector) DefaultValueOf(field *schema.Field) clause.Expression
- func (dialector Dialector) Explain(sql string, vars ...interface{}) string
- func (dialector Dialector) Initialize(db *gorm.DB) (err error)
- func (dialector Dialector) Migrator(db *gorm.DB) gorm.Migrator
- func (dialector Dialector) Name() string
- func (dialector Dialector) QuoteTo(writer clause.Writer, str string)
- func (dialectopr Dialector) RollbackTo(tx *gorm.DB, name string) error
- func (dialectopr Dialector) SavePoint(tx *gorm.DB, name string) error
- type Reader
- type Server
Constants ¶
View Source
const DriverName = "dqlite"
DriverName is the default driver name for dqlite.
Variables ¶
This section is empty.
Functions ¶
func GetCertificate ¶
func GetCertificate() tls.Certificate
func TelnetRoutine ¶
func TelnetRoutine(c *telnet.Connection)
Types ¶
type Dialector ¶
func (Dialector) ClauseBuilders ¶
func (dialector Dialector) ClauseBuilders() map[string]clause.ClauseBuilder
func (Dialector) DefaultValueOf ¶
func (dialector Dialector) DefaultValueOf(field *schema.Field) clause.Expression
func (Dialector) RollbackTo ¶
type Reader ¶
type Reader struct {
C chan []byte
}
Reader reads messages via the telnet.Connection and passes them to a channel.
type Server ¶
func (*Server) ListenAndServe ¶
func (*Server) OAuthAuthorize ¶
func (*Server) OAuthObtainToken ¶
func (*Server) OAuthRevokeToken ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.