Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FooCreateResponse ¶
type FooCreateResponse struct {
// contains filtered or unexported fields
}
FooCreateResponse is the service response when creating Foo
type FooServiceConnector ¶
FooServiceConnector is your custom service connector
func NewFooServiceConnector ¶
func NewFooServiceConnector(baseEndpoint string) *FooServiceConnector
NewFooServiceConnector is your custom connector to FooService where you can define your own data transformations and operations and then use jac.Jac's methods to easily send POST/GET/DELETE methods
func (*FooServiceConnector) CreateFoo ¶
func (c *FooServiceConnector) CreateFoo(foo Foo) (*FooCreateResponse, error)
CreateFoo is an example of simple connector function which uses jac.Jac to create new Foo instance via connector
Click to show internal directories.
Click to hide internal directories.