order

package
v0.0.0-...-3e0f7d7 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2017 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadMethods

func ReadMethods() []*regexp.Regexp

ReadMethods returns regexp slice of readable methods, mostly used by the acl

func RegisterOrderServer

func RegisterOrderServer(server *grpc.Server)

RegisterOrderServer register cartServer in-front of the grpc server

func RegisterService

func RegisterService(p Interface)

RegisterService register p as the service provider

func WriteMethods

func WriteMethods() []*regexp.Regexp

WriteMethods returns regexp slice of writable methods, mostly used by the acl

Types

type Interface

type Interface interface {
	orderpb.OrderServiceServer
}

Interface defines the functionality of the order service

func Service

func Service() Interface

Service returns the registered service

Directories

Path Synopsis
Package orderpb is a generated protocol buffer package.
Package orderpb is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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