api

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Package

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

func (*Package) Ean

func (p *Package) Ean() string

func (*Package) Size

func (p *Package) Size() (int32, error)

func (*Package) SizeUnit

func (p *Package) SizeUnit() string

type Product

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

func (*Product) ActiveSubstances

func (p *Product) ActiveSubstances() []string

func (*Product) CommonName

func (p *Product) CommonName() *string

func (*Product) Form

func (p *Product) Form() string

func (*Product) Name

func (p *Product) Name() string

func (*Product) Packages

func (p *Product) Packages() []*Package

func (*Product) ResponsibleEntity

func (p *Product) ResponsibleEntity() string

func (*Product) Strength

func (p *Product) Strength() string

func (*Product) Type

func (p *Product) Type() string

type Schema

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

func NewSchema

func NewSchema(updateChan chan bool) *Schema

func (*Schema) CreateGraphQLSchema

func (s *Schema) CreateGraphQLSchema() *graphql.Schema

func (*Schema) Product

func (s *Schema) Product(args struct{ Ean string }) *Product

Jump to

Keyboard shortcuts

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