Versions in this module Expand all Collapse all v1 v1.0.0 Jan 19, 2018 Changes in this version + func DefaultBidirectionalHandler(accessor SqlClientGetter) ... + func DefaultBidirectionalWithHooksHandler(accessor SqlClientGetter) ... + func DefaultClientStreamHandler(accessor SqlClientGetter) ... + func DefaultClientStreamWithHookHandler(accessor SqlClientGetter) ... + func DefaultServerStreamHandler(accessor SqlClientGetter) func(context.Context, *Test_NameForAmazing, func(Scanable)) error + func DefaultServerStreamWithHooksHandler(accessor SqlClientGetter) func(context.Context, *Test_NameForAmazing, func(Scanable)) error + func DefaultUniarySelectHandler(accessor SqlClientGetter) func(context.Context, *Test_PartialTableForAmazing, func(Scanable)) error + func DefaultUniarySelectWithHooksHandler(accessor SqlClientGetter) func(context.Context, *Test_PartialTableForAmazing, func(Scanable)) error + type AmazingBidirectionalQueryParams interface + GetId func() int64 + GetName func() string + GetStartTime func() interface{} + type AmazingBidirectionalWithHooksQueryParams interface + GetId func() int64 + GetName func() string + GetStartTime func() interface{} + type AmazingClientStreamQueryParams interface + GetId func() int64 + GetName func() string + GetStartTime func() interface{} + type AmazingClientStreamWithHookQueryParams interface + GetId func() int64 + GetName func() string + GetStartTime func() interface{} + type AmazingMethodReceiver struct + Handlers AmazingQueryHandlers + func (p *AmazingMethodReceiver) Bidirectional(ctx context.Context) (func(*Test_ExampleTableForAmazing) (Scanable, error), func() error) + func (p *AmazingMethodReceiver) BidirectionalWithHooks(ctx context.Context) (func(*Test_ExampleTableForAmazing) (Scanable, error), func() error) + func (p *AmazingMethodReceiver) ClientStream(ctx context.Context) (func(*Test_ExampleTableForAmazing), func() (Scanable, error)) + func (p *AmazingMethodReceiver) ClientStreamWithHook(ctx context.Context) (func(*Test_ExampleTableForAmazing), func() (Scanable, error)) + func (p *AmazingMethodReceiver) ServerStream(ctx context.Context, params *Test_NameForAmazing, next func(Scanable)) error + func (p *AmazingMethodReceiver) ServerStreamWithHooks(ctx context.Context, params *Test_NameForAmazing, next func(Scanable)) error + func (p *AmazingMethodReceiver) UniarySelect(ctx context.Context, params *Test_PartialTableForAmazing, next func(Scanable)) error + func (p *AmazingMethodReceiver) UniarySelectWithHooks(ctx context.Context, params *Test_PartialTableForAmazing, next func(Scanable)) error + type AmazingQueryHandlers struct + BidirectionalHandler func(context.Context) (func(*Test_ExampleTableForAmazing) (Scanable, error), func() error) + BidirectionalWithHooksHandler func(context.Context) (func(*Test_ExampleTableForAmazing) (Scanable, error), func() error) + ClientStreamHandler func(context.Context) (func(*Test_ExampleTableForAmazing), func() (Scanable, error)) + ClientStreamWithHookHandler func(context.Context) (func(*Test_ExampleTableForAmazing), func() (Scanable, error)) + ServerStreamHandler func(context.Context, *Test_NameForAmazing, func(Scanable)) error + ServerStreamWithHooksHandler func(context.Context, *Test_NameForAmazing, func(Scanable)) error + UniarySelectHandler func(context.Context, *Test_PartialTableForAmazing, func(Scanable)) error + UniarySelectWithHooksHandler func(context.Context, *Test_PartialTableForAmazing, func(Scanable)) error + type AmazingServerStreamQueryParams interface + GetName func() string + type AmazingServerStreamWithHooksQueryParams interface + GetName func() string + type AmazingUniarySelectQueryParams interface + GetId func() int64 + GetStartTime func() interface{} + type AmazingUniarySelectWithHooksQueryParams interface + GetId func() int64 + GetStartTime func() interface{} + type Result struct + func AmazingBidirectionalQuery(tx Runable, req AmazingBidirectionalQueryParams) *Result + func AmazingBidirectionalWithHooksQuery(tx Runable, req AmazingBidirectionalWithHooksQueryParams) *Result + func AmazingClientStreamQuery(tx Runable, req AmazingClientStreamQueryParams) *Result + func AmazingClientStreamWithHookQuery(tx Runable, req AmazingClientStreamWithHookQueryParams) *Result + func AmazingServerStreamQuery(tx Runable, req AmazingServerStreamQueryParams) *Result + func AmazingServerStreamWithHooksQuery(tx Runable, req AmazingServerStreamWithHooksQueryParams) *Result + func AmazingUniarySelectQuery(tx Runable, req AmazingUniarySelectQueryParams) *Result + func AmazingUniarySelectWithHooksQuery(tx Runable, req AmazingUniarySelectWithHooksQueryParams) *Result + func (r *Result) Do(fun func(Scanable) error) error + func (r *Result) Err() error + func (r *Result) Scan(dest ...interface{}) error + type Runable interface + Exec func(string, ...interface{}) (sql.Result, error) + Query func(string, ...interface{}) (*sql.Rows, error) + QueryRow func(string, ...interface{}) *sql.Row + type Scanable interface + Scan func(dest ...interface{}) error + type SqlClientGetter func() (*sql.DB, error) + func NewSqlClientGetter(cli *sql.DB) SqlClientGetter + type Test_ExampleTableForAmazing struct + Id int64 + Name string + StartTime interface{} + func (p *Test_ExampleTableForAmazing) GetId() int64 + func (p *Test_ExampleTableForAmazing) GetName() string + func (p *Test_ExampleTableForAmazing) GetStartTime() interface{} + func (p *Test_ExampleTableForAmazing) SetId(param int64) + func (p *Test_ExampleTableForAmazing) SetName(param string) + func (p *Test_ExampleTableForAmazing) SetStartTime(param interface{}) + type Test_NameForAmazing struct + Name string + func (p *Test_NameForAmazing) GetName() string + func (p *Test_NameForAmazing) SetName(param string) + type Test_PartialTableForAmazing struct + Id int64 + StartTime interface{} + func (p *Test_PartialTableForAmazing) GetId() int64 + func (p *Test_PartialTableForAmazing) GetStartTime() interface{} + func (p *Test_PartialTableForAmazing) SetId(param int64) + func (p *Test_PartialTableForAmazing) SetStartTime(param interface{}) Incompatible versions in this module v2.1.1+incompatible Nov 10, 2018 v2.1.0+incompatible Nov 2, 2018 v2.0.1+incompatible Oct 30, 2018 v2.0.0+incompatible Oct 30, 2018