generators

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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 (writer *TransactionWriter) HandleAfter(ctx context.Context, params []string, hasFnParam bool, hasFnResult bool) (code gcg.Code, err error)

func (*TransactionWriter) HandleBefore

func (writer *TransactionWriter) HandleBefore(ctx context.Context, params []string, hasFnParam bool, hasFnResult bool) (code gcg.Code, err error)

func (*TransactionWriter) ProxyAfter

func (writer *TransactionWriter) ProxyAfter(ctx context.Context, params []string, hasFnParam bool, hasFnResult bool) (code gcg.Code, err error)

func (*TransactionWriter) ProxyBefore

func (writer *TransactionWriter) ProxyBefore(ctx context.Context, params []string, hasFnParam bool, hasFnResult bool) (code gcg.Code, err error)

type UseWriter

type UseWriter struct {
}

UseWriter @mysql:use {endpointName}

func (*UseWriter) Annotation

func (writer *UseWriter) Annotation() (annotation string)

func (*UseWriter) HandleAfter

func (writer *UseWriter) HandleAfter(ctx context.Context, params []string, hasFnParam bool, hasFnResult bool) (code gcg.Code, err error)

func (*UseWriter) HandleBefore

func (writer *UseWriter) HandleBefore(ctx context.Context, params []string, hasFnParam bool, hasFnResult bool) (code gcg.Code, err error)

func (*UseWriter) ProxyAfter

func (writer *UseWriter) ProxyAfter(ctx context.Context, params []string, hasFnParam bool, hasFnResult bool) (code gcg.Code, err error)

func (*UseWriter) ProxyBefore

func (writer *UseWriter) ProxyBefore(ctx context.Context, params []string, hasFnParam bool, hasFnResult bool) (code gcg.Code, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL