Documentation ¶
Index ¶
- type TransactionWriter
- func (writer *TransactionWriter) Annotation() (annotation string)
- func (writer *TransactionWriter) HandleAfter(ctx context.Context, params []string, hasFnParam bool, hasFnResult bool) (code gcg.Code, err error)
- func (writer *TransactionWriter) HandleBefore(ctx context.Context, params []string, hasFnParam bool, hasFnResult bool) (code gcg.Code, err error)
- func (writer *TransactionWriter) ProxyAfter(ctx context.Context, params []string, hasFnParam bool, hasFnResult bool) (code gcg.Code, err error)
- func (writer *TransactionWriter) ProxyBefore(ctx context.Context, params []string, hasFnParam bool, hasFnResult bool) (code gcg.Code, err error)
- type UseWriter
- func (writer *UseWriter) Annotation() (annotation string)
- func (writer *UseWriter) HandleAfter(ctx context.Context, params []string, hasFnParam bool, hasFnResult bool) (code gcg.Code, err error)
- func (writer *UseWriter) HandleBefore(ctx context.Context, params []string, hasFnParam bool, hasFnResult bool) (code gcg.Code, err error)
- func (writer *UseWriter) ProxyAfter(ctx context.Context, params []string, hasFnParam bool, hasFnResult bool) (code gcg.Code, err error)
- func (writer *UseWriter) ProxyBefore(ctx context.Context, params []string, hasFnParam bool, hasFnResult bool) (code gcg.Code, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TransactionWriter ¶
type TransactionWriter struct { }
TransactionWriter @mysql:transaction {readonly} {isolation} isolation: - ReadCommitted - ReadUncommitted - WriteCommitted - RepeatableRead - Snapshot - Serializable - Linearizable
func (*TransactionWriter) Annotation ¶
func (writer *TransactionWriter) Annotation() (annotation string)
func (*TransactionWriter) HandleAfter ¶
func (*TransactionWriter) HandleBefore ¶
func (*TransactionWriter) ProxyAfter ¶
type UseWriter ¶
type UseWriter struct { }
UseWriter @mysql:use {endpointName}
func (*UseWriter) Annotation ¶
func (*UseWriter) HandleAfter ¶
func (*UseWriter) HandleBefore ¶
func (*UseWriter) ProxyAfter ¶
Click to show internal directories.
Click to hide internal directories.