Documentation
¶
Index ¶
- Variables
- func DeleteAll(ctx context.Context, db *DB) (int64, error)
- type DB
- type DBMethods
- type Error
- type ErrorCode
- type Methods
- type Node
- type Node_ApiSecret_Field
- type Node_Id_Field
- type Node_Logo_Field
- type Node_Name_Field
- type Node_PublicAddress_Field
- type Node_Tag_Field
- type Node_Update_Fields
- type Rx
- func (rx *Rx) Commit() (err error)
- func (rx *Rx) Create_Node(ctx context.Context, node_id Node_Id_Field, node_name Node_Name_Field, ...) (node *Node, err error)
- func (rx *Rx) Delete_Node_By_Id(ctx context.Context, node_id Node_Id_Field) (deleted bool, err error)
- func (rx *Rx) Get_Node_By_Id(ctx context.Context, node_id Node_Id_Field) (node *Node, err error)
- func (rx *Rx) Rebind(s string) string
- func (rx *Rx) Rollback() (err error)
- func (rx *Rx) UnsafeTx(ctx context.Context) (unsafe_tx tagsql.Tx, err error)
- type Tx
- type TxMethods
Constants ¶
This section is empty.
Variables ¶
View Source
var ( WrapErr = func(err *Error) error { return err } Logger func(format string, args ...interface{}) )
Functions ¶
Types ¶
type DB ¶
type Methods ¶
type Methods interface { Create_Node(ctx context.Context, node_id Node_Id_Field, node_name Node_Name_Field, node_tag Node_Tag_Field, node_public_address Node_PublicAddress_Field, node_api_secret Node_ApiSecret_Field, node_logo Node_Logo_Field) ( node *Node, err error) Delete_Node_By_Id(ctx context.Context, node_id Node_Id_Field) ( deleted bool, err error) Get_Node_By_Id(ctx context.Context, node_id Node_Id_Field) ( node *Node, err error) }
type Node_ApiSecret_Field ¶
type Node_ApiSecret_Field struct {
// contains filtered or unexported fields
}
func Node_ApiSecret ¶
func Node_ApiSecret(v []byte) Node_ApiSecret_Field
type Node_Id_Field ¶
type Node_Id_Field struct {
// contains filtered or unexported fields
}
func Node_Id ¶
func Node_Id(v []byte) Node_Id_Field
type Node_Logo_Field ¶
type Node_Logo_Field struct {
// contains filtered or unexported fields
}
func Node_Logo ¶
func Node_Logo(v []byte) Node_Logo_Field
type Node_Name_Field ¶
type Node_Name_Field struct {
// contains filtered or unexported fields
}
func Node_Name ¶
func Node_Name(v string) Node_Name_Field
type Node_PublicAddress_Field ¶
type Node_PublicAddress_Field struct {
// contains filtered or unexported fields
}
func Node_PublicAddress ¶
func Node_PublicAddress(v string) Node_PublicAddress_Field
type Node_Tag_Field ¶
type Node_Tag_Field struct {
// contains filtered or unexported fields
}
func Node_Tag ¶
func Node_Tag(v string) Node_Tag_Field
type Node_Update_Fields ¶
type Node_Update_Fields struct { Name Node_Name_Field Tag Node_Tag_Field Logo Node_Logo_Field }
type Rx ¶
type Rx struct {
// contains filtered or unexported fields
}
func (*Rx) Create_Node ¶
func (rx *Rx) Create_Node(ctx context.Context, node_id Node_Id_Field, node_name Node_Name_Field, node_tag Node_Tag_Field, node_public_address Node_PublicAddress_Field, node_api_secret Node_ApiSecret_Field, node_logo Node_Logo_Field) ( node *Node, err error)
func (*Rx) Delete_Node_By_Id ¶
func (*Rx) Get_Node_By_Id ¶
Click to show internal directories.
Click to hide internal directories.