Documentation ¶
Index ¶
- Constants
- func BuildFilterConditions(req Request, tableName string, exclude ...string) dbr.Builder
- func BuildFilterConditionsWithPrefix(req Request, tableName string, exclude ...string) dbr.Builder
- func BuildUpdateAttributes(req Request, columns ...string) map[string]interface{}
- func NewClient(ctx context.Context, host string, port int) (*grpc.ClientConn, error)
- type GrpcServer
- type RegisterCallback
- type Request
Constants ¶
View Source
const ( TagName = "protobuf" SearchWordColumnName = "search_word" )
Variables ¶
This section is empty.
Functions ¶
func BuildFilterConditions ¶
func BuildUpdateAttributes ¶
Types ¶
type GrpcServer ¶
func NewGrpcServer ¶
func NewGrpcServer(serviceName string, port int) *GrpcServer
func (*GrpcServer) Serve ¶
func (g *GrpcServer) Serve(callback RegisterCallback)
type RegisterCallback ¶
Click to show internal directories.
Click to hide internal directories.