Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(tr tracingInterface.Tracing) *Client
func (*Client) Create ¶
func (c *Client) Create(tr tracingInterface.Tracing)
type Handler ¶
type Handler struct { example.UnimplementedApiServer // contains filtered or unexported fields }
func NewHandler ¶
func NewHandler(lo interfaces.Listener) *Handler
func (*Handler) AllowMethod ¶
func (c *Handler) AllowMethod(method string) (m []interfaces.Method)
AllowMethod - required method
func (*Handler) Auth ¶
func (c *Handler) Auth(ctx context.Context, req *example.AuthRequest) (*example.AuthResponse, error)
func (*Handler) GetServiceDesc ¶
func (c *Handler) GetServiceDesc() []*grpc.ServiceDesc
GetServiceDesc - required method
Click to show internal directories.
Click to hide internal directories.