testentity

package
v0.0.0-...-194d0c4 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fld

type Fld struct {
	entity.Field

	FName       string
	FFieldName  string
	FPBtype     string
	FIsRepeated bool
}

func NewFld

func NewFld() *Fld

func (*Fld) FieldName

func (f *Fld) FieldName() string

func (*Fld) IsRepeated

func (f *Fld) IsRepeated() bool

func (*Fld) Name

func (f *Fld) Name() string

func (*Fld) PBType

func (f *Fld) PBType() string

type Msg

type Msg struct {
	entity.Message
	// contains filtered or unexported fields
}

func NewMsg

func NewMsg() *Msg

func (*Msg) Fields

func (m *Msg) Fields() []entity.Field

func (*Msg) Name

func (m *Msg) Name() string

type RPC

type RPC struct {
	FIsClientStreaming, FIsServerStreaming bool
	// contains filtered or unexported fields
}

func NewRPC

func NewRPC() *RPC

func NewRPCs

func NewRPCs() []*RPC

func (*RPC) FQRN

func (r *RPC) FQRN() string

func (*RPC) IsClientStreaming

func (r *RPC) IsClientStreaming() bool

func (*RPC) IsServerStreaming

func (r *RPC) IsServerStreaming() bool

func (*RPC) Name

func (r *RPC) Name() string

func (*RPC) RequestMessage

func (r *RPC) RequestMessage() entity.Message

func (*RPC) ResponseMessage

func (r *RPC) ResponseMessage() entity.Message

func (*RPC) StreamDesc

func (r *RPC) StreamDesc() *grpc.StreamDesc

type Svc

type Svc struct {
	entity.Service
	// contains filtered or unexported fields
}

func NewSvc

func NewSvc() *Svc

func (*Svc) Name

func (s *Svc) Name() string

func (*Svc) RPCs

func (s *Svc) RPCs() []entity.RPC

Jump to

Keyboard shortcuts

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