portal

package
v1.10.56 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 5 Imported by: 2

Documentation

Overview

Package portal is a generated protocol buffer package.

It is generated from these files:

portal.proto

It has these top-level messages:

PortalRequest
PortalResponse

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterPortalServer

func RegisterPortalServer(s *grpc.Server, srv PortalServer)

Types

type PortalClient

type PortalClient interface {
	Portal(ctx context.Context, in *PortalRequest, opts ...grpc.CallOption) (*PortalResponse, error)
}

func NewPortalClient

func NewPortalClient(cc *grpc.ClientConn) PortalClient

type PortalRequest

type PortalRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}

func (*PortalRequest) Descriptor

func (*PortalRequest) Descriptor() ([]byte, []int)

func (*PortalRequest) GetName

func (m *PortalRequest) GetName() string

func (*PortalRequest) ProtoMessage

func (*PortalRequest) ProtoMessage()

func (*PortalRequest) Reset

func (m *PortalRequest) Reset()

func (*PortalRequest) String

func (m *PortalRequest) String() string

type PortalResponse

type PortalResponse struct {
	Response string `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"`
}

func (*PortalResponse) Descriptor

func (*PortalResponse) Descriptor() ([]byte, []int)

func (*PortalResponse) GetResponse

func (m *PortalResponse) GetResponse() string

func (*PortalResponse) ProtoMessage

func (*PortalResponse) ProtoMessage()

func (*PortalResponse) Reset

func (m *PortalResponse) Reset()

func (*PortalResponse) String

func (m *PortalResponse) String() string

type PortalServer

type PortalServer interface {
	Portal(context.Context, *PortalRequest) (*PortalResponse, error)
}

Jump to

Keyboard shortcuts

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