response

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Response

type Response struct {
	// contains filtered or unexported fields
}

func NewResponse

func NewResponse(rowsAffected int, err error, data interface{}) *Response

func (*Response) GetData

func (r *Response) GetData() interface{}

func (*Response) GetError

func (r *Response) GetError() error

func (*Response) GetRowsAffected

func (r *Response) GetRowsAffected() int

func (*Response) SetData

func (r *Response) SetData(value interface{}) *Response

func (*Response) SetError

func (r *Response) SetError(value error) *Response

func (*Response) SetRowsAffected

func (r *Response) SetRowsAffected(value int) *Response

Jump to

Keyboard shortcuts

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