service

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Def

type Def struct {
	Desc                        *grpc.ServiceDesc
	Service                     interface{}
	HandlerFromEndpointRegister RegisterHandlerFromEndpoint
	// contains filtered or unexported fields
}

func NewDef

func NewDef(name string, swagger []byte, desc *grpc.ServiceDesc, service interface{}, registerHandler RegisterHandlerFromEndpoint) *Def

func (*Def) GRPCDesc

func (s *Def) GRPCDesc() *grpc.ServiceDesc

func (*Def) GRPCGatewayRegister

func (s *Def) GRPCGatewayRegister() func(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

func (*Def) Impl

func (s *Def) Impl() interface{}

func (*Def) Name

func (s *Def) Name() string

func (*Def) Swagger

func (s *Def) Swagger() []byte

type RegisterHandlerFromEndpoint

type RegisterHandlerFromEndpoint func(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

Directories

Path Synopsis
systemcc
cscc
Package cscc is a reverse proxy.
Package cscc is a reverse proxy.
lifecycle
Package lifecycle is a reverse proxy.
Package lifecycle is a reverse proxy.
lscc
Package lscc is a reverse proxy.
Package lscc is a reverse proxy.
qscc
Package qscc is a reverse proxy.
Package qscc is a reverse proxy.
Package wallet is a reverse proxy.
Package wallet is a reverse proxy.

Jump to

Keyboard shortcuts

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