Documentation ¶
Index ¶
Constants ¶
View Source
const (
ServiceName = "app"
)
Variables ¶
View Source
var File_internal_proto_app_app_proto protoreflect.FileDescriptor
Functions ¶
func NewAppServiceEndpoints ¶
func RegisterAppServiceHandler ¶
func RegisterAppServiceHandler(s server.Server, hdlr AppServiceHandler, opts ...server.HandlerOption) error
Types ¶
type AppService ¶
type AppService interface {
Version(ctx context.Context, in *emptypb.Empty, opts ...client.CallOption) (*VersionResponse, error)
}
func NewAppService ¶
func NewAppService(name string, c client.Client) AppService
type AppServiceHandler ¶
type VersionResponse ¶
type VersionResponse struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*VersionResponse) Descriptor
deprecated
func (*VersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead.
func (*VersionResponse) GetVersion ¶
func (x *VersionResponse) GetVersion() string
func (*VersionResponse) ProtoMessage ¶
func (*VersionResponse) ProtoMessage()
func (*VersionResponse) ProtoReflect ¶
func (x *VersionResponse) ProtoReflect() protoreflect.Message
func (*VersionResponse) Reset ¶
func (x *VersionResponse) Reset()
func (*VersionResponse) String ¶
func (x *VersionResponse) String() string
Click to show internal directories.
Click to hide internal directories.