snake_case_names

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2022 License: Apache-2.0 Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_snake_case_names_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type HaberdasherV1Client

type HaberdasherV1Client interface {
	MakeHatV1(context.Context, *MakeHatArgsV1_SizeV1, ...psrpc.RequestOption) (*MakeHatArgsV1_HatV1, error)
}

A Haberdasher makes hats for clients.

func NewHaberdasherV1Client

func NewHaberdasherV1Client(clientID string, bus psrpc.MessageBus, opts ...psrpc.ClientOption) (HaberdasherV1Client, error)

NewHaberdasherV1Client creates a psrpc client that implements the HaberdasherV1Client interface.

type HaberdasherV1Server

type HaberdasherV1Server interface {
	// Close and wait for pending RPCs to complete
	Shutdown()

	// Close immediately, without waiting for pending RPCs
	Kill()
}

A Haberdasher makes hats for clients.

func NewHaberdasherV1Server

func NewHaberdasherV1Server(serverID string, svc HaberdasherV1ServerImpl, bus psrpc.MessageBus, opts ...psrpc.ServerOption) (HaberdasherV1Server, error)

NewHaberdasherV1Server builds a RPCServer that will route requests to the corresponding method in the provided svc implementation.

type HaberdasherV1ServerImpl

type HaberdasherV1ServerImpl interface {
	MakeHatV1(context.Context, *MakeHatArgsV1_SizeV1) (*MakeHatArgsV1_HatV1, error)
}

A Haberdasher makes hats for clients.

type MakeHatArgsV1

type MakeHatArgsV1 struct {
	// contains filtered or unexported fields
}

func (*MakeHatArgsV1) Descriptor deprecated

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

Deprecated: Use MakeHatArgsV1.ProtoReflect.Descriptor instead.

func (*MakeHatArgsV1) ProtoMessage

func (*MakeHatArgsV1) ProtoMessage()

func (*MakeHatArgsV1) ProtoReflect

func (x *MakeHatArgsV1) ProtoReflect() protoreflect.Message

func (*MakeHatArgsV1) Reset

func (x *MakeHatArgsV1) Reset()

func (*MakeHatArgsV1) String

func (x *MakeHatArgsV1) String() string

type MakeHatArgsV1_HatV1

type MakeHatArgsV1_HatV1 struct {
	Size  int32  `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	Color string `protobuf:"bytes,2,opt,name=color,proto3" json:"color,omitempty"`
	Name  string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*MakeHatArgsV1_HatV1) Descriptor deprecated

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

Deprecated: Use MakeHatArgsV1_HatV1.ProtoReflect.Descriptor instead.

func (*MakeHatArgsV1_HatV1) GetColor

func (x *MakeHatArgsV1_HatV1) GetColor() string

func (*MakeHatArgsV1_HatV1) GetName

func (x *MakeHatArgsV1_HatV1) GetName() string

func (*MakeHatArgsV1_HatV1) GetSize

func (x *MakeHatArgsV1_HatV1) GetSize() int32

func (*MakeHatArgsV1_HatV1) ProtoMessage

func (*MakeHatArgsV1_HatV1) ProtoMessage()

func (*MakeHatArgsV1_HatV1) ProtoReflect

func (x *MakeHatArgsV1_HatV1) ProtoReflect() protoreflect.Message

func (*MakeHatArgsV1_HatV1) Reset

func (x *MakeHatArgsV1_HatV1) Reset()

func (*MakeHatArgsV1_HatV1) String

func (x *MakeHatArgsV1_HatV1) String() string

type MakeHatArgsV1_SizeV1

type MakeHatArgsV1_SizeV1 struct {
	Inches int32 `protobuf:"varint,1,opt,name=inches,proto3" json:"inches,omitempty"`
	// contains filtered or unexported fields
}

func (*MakeHatArgsV1_SizeV1) Descriptor deprecated

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

Deprecated: Use MakeHatArgsV1_SizeV1.ProtoReflect.Descriptor instead.

func (*MakeHatArgsV1_SizeV1) GetInches

func (x *MakeHatArgsV1_SizeV1) GetInches() int32

func (*MakeHatArgsV1_SizeV1) ProtoMessage

func (*MakeHatArgsV1_SizeV1) ProtoMessage()

func (*MakeHatArgsV1_SizeV1) ProtoReflect

func (x *MakeHatArgsV1_SizeV1) ProtoReflect() protoreflect.Message

func (*MakeHatArgsV1_SizeV1) Reset

func (x *MakeHatArgsV1_SizeV1) Reset()

func (*MakeHatArgsV1_SizeV1) String

func (x *MakeHatArgsV1_SizeV1) String() string

Jump to

Keyboard shortcuts

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