library

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWebService

func NewWebService(ctx context.Context, optionsSetters ...WebServiceOptionsSetter) (http.Handler, func(), error)

Types

type WebServiceOptions

type WebServiceOptions struct {
	Client *ent.Client
}

func (*WebServiceOptions) ApplySetters

func (o *WebServiceOptions) ApplySetters(optionsSetters ...WebServiceOptionsSetter)

type WebServiceOptionsSetter

type WebServiceOptionsSetter func(options *WebServiceOptions)

func SetDataSourceClient

func SetDataSourceClient(client *ent.Client) WebServiceOptionsSetter

Directories

Path Synopsis
adapter
app
command/mock/mockcategory
Package mockcategory is a generated GoMock package.
Package mockcategory is a generated GoMock package.
command/mock/mockproduct
Package mockproduct is a generated GoMock package.
Package mockproduct is a generated GoMock package.
domain
port
web/categoryweb
Package categoryweb provides primitives to interact the openapi HTTP API.
Package categoryweb provides primitives to interact the openapi HTTP API.
web/productweb
Package productweb provides primitives to interact the openapi HTTP API.
Package productweb provides primitives to interact the openapi HTTP API.

Jump to

Keyboard shortcuts

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