Documentation
¶
Overview ¶
Package ginproc implements a gin frontend for procapi.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Caller ¶
type Caller interface {
Call(r *http.Request, method string, args map[string]interface{}) (interface{}, error)
}
Caller allows to process and mock pgcall.Caller independently
type Server ¶
type Server struct {
Caller // *pgcall.Server
// contains filtered or unexported fields
}
Server holds pgcall server
func NewServer ¶
func NewServer(log loggers.Contextual, pgcall Caller) *Server
NewServer returns pgcall server object
func (*Server) SetProtoFuncs ¶
SetProtoFuncs appends function templates and not related to request functions to funcs
Click to show internal directories.
Click to hide internal directories.