Documentation ¶
Index ¶
- Variables
- func New(opts *o.Opts) proxy.Listener
- func NewProxy(opts *o.Opts) proxy.Proxy
- func RegisterExampleServer(s *grpc.Server, srv ExampleServer)
- type Empty
- type ExampleClient
- type ExampleServer
- type Example_ReceiveInsertsClient
- type Example_ReceiveInsertsServer
- type Example_SendInsertsClient
- type Example_SendInsertsServer
- type Insert
- type Insert_Request
- func (*Insert_Request) Descriptor() ([]byte, []int)deprecated
- func (x *Insert_Request) GetSong() *Song
- func (m *Insert_Request) MarshalJSON() ([]byte, error)
- func (*Insert_Request) ProtoMessage()
- func (x *Insert_Request) ProtoReflect() protoreflect.Message
- func (x *Insert_Request) Reset()
- func (x *Insert_Request) String() string
- func (m *Insert_Request) UnmarshalJSON(b []byte) error
- type Insert_Response
- func (*Insert_Response) Descriptor() ([]byte, []int)deprecated
- func (x *Insert_Response) GetUuid() string
- func (m *Insert_Response) MarshalJSON() ([]byte, error)
- func (*Insert_Response) ProtoMessage()
- func (x *Insert_Response) ProtoReflect() protoreflect.Message
- func (x *Insert_Response) Reset()
- func (x *Insert_Response) String() string
- func (m *Insert_Response) UnmarshalJSON(b []byte) error
- type ListSongs
- func (*ListSongs) Descriptor() ([]byte, []int)deprecated
- func (m *ListSongs) MarshalJSON() ([]byte, error)
- func (*ListSongs) ProtoMessage()
- func (x *ListSongs) ProtoReflect() protoreflect.Message
- func (x *ListSongs) Reset()
- func (x *ListSongs) String() string
- func (m *ListSongs) UnmarshalJSON(b []byte) error
- type ListSongs_Request
- func (*ListSongs_Request) Descriptor() ([]byte, []int)deprecated
- func (m *ListSongs_Request) MarshalJSON() ([]byte, error)
- func (*ListSongs_Request) ProtoMessage()
- func (x *ListSongs_Request) ProtoReflect() protoreflect.Message
- func (x *ListSongs_Request) Reset()
- func (x *ListSongs_Request) String() string
- func (m *ListSongs_Request) UnmarshalJSON(b []byte) error
- type ListSongs_Response
- func (*ListSongs_Response) Descriptor() ([]byte, []int)deprecated
- func (x *ListSongs_Response) GetSongs() []*Song
- func (m *ListSongs_Response) MarshalJSON() ([]byte, error)
- func (*ListSongs_Response) ProtoMessage()
- func (x *ListSongs_Response) ProtoReflect() protoreflect.Message
- func (x *ListSongs_Response) Reset()
- func (x *ListSongs_Response) String() string
- func (m *ListSongs_Response) UnmarshalJSON(b []byte) error
- type ReceiveInserts
- func (*ReceiveInserts) Descriptor() ([]byte, []int)deprecated
- func (m *ReceiveInserts) MarshalJSON() ([]byte, error)
- func (*ReceiveInserts) ProtoMessage()
- func (x *ReceiveInserts) ProtoReflect() protoreflect.Message
- func (x *ReceiveInserts) Reset()
- func (x *ReceiveInserts) String() string
- func (m *ReceiveInserts) UnmarshalJSON(b []byte) error
- type ReceiveInserts_Request
- func (*ReceiveInserts_Request) Descriptor() ([]byte, []int)deprecated
- func (m *ReceiveInserts_Request) MarshalJSON() ([]byte, error)
- func (*ReceiveInserts_Request) ProtoMessage()
- func (x *ReceiveInserts_Request) ProtoReflect() protoreflect.Message
- func (x *ReceiveInserts_Request) Reset()
- func (x *ReceiveInserts_Request) String() string
- func (m *ReceiveInserts_Request) UnmarshalJSON(b []byte) error
- type Song
- func (*Song) Descriptor() ([]byte, []int)deprecated
- func (x *Song) GetAlbumTitle() string
- func (x *Song) GetArtist() string
- func (x *Song) GetSongTitle() string
- func (x *Song) GetYear() string
- func (m *Song) MarshalJSON() ([]byte, error)
- func (*Song) ProtoMessage()
- func (x *Song) ProtoReflect() protoreflect.Message
- func (x *Song) Reset()
- func (x *Song) String() string
- func (m *Song) UnmarshalJSON(b []byte) error
- type UnimplementedExampleServer
- func (*UnimplementedExampleServer) Insert(context.Context, *Insert_Request) (*Insert_Response, error)
- func (*UnimplementedExampleServer) ReceiveInserts(*api.SQS_ReceiveMessageInput, Example_ReceiveInsertsServer) error
- func (*UnimplementedExampleServer) SendInserts(Example_SendInsertsServer) error
- func (*UnimplementedExampleServer) Update(context.Context, *Update_Request) (*Update_Response, error)
- type Update
- type Update_Request
- func (*Update_Request) Descriptor() ([]byte, []int)deprecated
- func (x *Update_Request) GetSong() *Song
- func (m *Update_Request) MarshalJSON() ([]byte, error)
- func (*Update_Request) ProtoMessage()
- func (x *Update_Request) ProtoReflect() protoreflect.Message
- func (x *Update_Request) Reset()
- func (x *Update_Request) String() string
- func (m *Update_Request) UnmarshalJSON(b []byte) error
- type Update_Response
- func (*Update_Response) Descriptor() ([]byte, []int)deprecated
- func (x *Update_Response) GetUuid() string
- func (m *Update_Response) MarshalJSON() ([]byte, error)
- func (*Update_Response) ProtoMessage()
- func (x *Update_Response) ProtoReflect() protoreflect.Message
- func (x *Update_Response) Reset()
- func (x *Update_Response) String() string
- func (m *Update_Response) UnmarshalJSON(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var EmptyJSONMarshaler = new(jsonpb.Marshaler)
EmptyJSONMarshaler describes the default jsonpb.Marshaler used by all instances of EmptyJSONMarshaler This struct is safe to replace or modify but should not be done so concurrently.
var EmptyJSONUnmarshaler = new(jsonpb.Unmarshaler)
EmptyJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of Empty. This struct is safe to replace or modify but should not be done so concurrently.
var File_example_example_proto protoreflect.FileDescriptor
var InsertJSONMarshaler = new(jsonpb.Marshaler)
InsertJSONMarshaler describes the default jsonpb.Marshaler used by all instances of InsertJSONMarshaler This struct is safe to replace or modify but should not be done so concurrently.
var InsertJSONUnmarshaler = new(jsonpb.Unmarshaler)
InsertJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of Insert. This struct is safe to replace or modify but should not be done so concurrently.
var Insert_RequestJSONMarshaler = new(jsonpb.Marshaler)
Insert_RequestJSONMarshaler describes the default jsonpb.Marshaler used by all instances of Insert_RequestJSONMarshaler This struct is safe to replace or modify but should not be done so concurrently.
var Insert_RequestJSONUnmarshaler = new(jsonpb.Unmarshaler)
Insert_RequestJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of Insert_Request. This struct is safe to replace or modify but should not be done so concurrently.
var Insert_ResponseJSONMarshaler = new(jsonpb.Marshaler)
Insert_ResponseJSONMarshaler describes the default jsonpb.Marshaler used by all instances of Insert_ResponseJSONMarshaler This struct is safe to replace or modify but should not be done so concurrently.
var Insert_ResponseJSONUnmarshaler = new(jsonpb.Unmarshaler)
Insert_ResponseJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of Insert_Response. This struct is safe to replace or modify but should not be done so concurrently.
var ListSongsJSONMarshaler = new(jsonpb.Marshaler)
ListSongsJSONMarshaler describes the default jsonpb.Marshaler used by all instances of ListSongsJSONMarshaler This struct is safe to replace or modify but should not be done so concurrently.
var ListSongsJSONUnmarshaler = new(jsonpb.Unmarshaler)
ListSongsJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of ListSongs. This struct is safe to replace or modify but should not be done so concurrently.
var ListSongs_RequestJSONMarshaler = new(jsonpb.Marshaler)
ListSongs_RequestJSONMarshaler describes the default jsonpb.Marshaler used by all instances of ListSongs_RequestJSONMarshaler This struct is safe to replace or modify but should not be done so concurrently.
var ListSongs_RequestJSONUnmarshaler = new(jsonpb.Unmarshaler)
ListSongs_RequestJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of ListSongs_Request. This struct is safe to replace or modify but should not be done so concurrently.
var ListSongs_ResponseJSONMarshaler = new(jsonpb.Marshaler)
ListSongs_ResponseJSONMarshaler describes the default jsonpb.Marshaler used by all instances of ListSongs_ResponseJSONMarshaler This struct is safe to replace or modify but should not be done so concurrently.
var ListSongs_ResponseJSONUnmarshaler = new(jsonpb.Unmarshaler)
ListSongs_ResponseJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of ListSongs_Response. This struct is safe to replace or modify but should not be done so concurrently.
var ReceiveInsertsJSONMarshaler = new(jsonpb.Marshaler)
ReceiveInsertsJSONMarshaler describes the default jsonpb.Marshaler used by all instances of ReceiveInsertsJSONMarshaler This struct is safe to replace or modify but should not be done so concurrently.
var ReceiveInsertsJSONUnmarshaler = new(jsonpb.Unmarshaler)
ReceiveInsertsJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of ReceiveInserts. This struct is safe to replace or modify but should not be done so concurrently.
var ReceiveInserts_RequestJSONMarshaler = new(jsonpb.Marshaler)
ReceiveInserts_RequestJSONMarshaler describes the default jsonpb.Marshaler used by all instances of ReceiveInserts_RequestJSONMarshaler This struct is safe to replace or modify but should not be done so concurrently.
var ReceiveInserts_RequestJSONUnmarshaler = new(jsonpb.Unmarshaler)
ReceiveInserts_RequestJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of ReceiveInserts_Request. This struct is safe to replace or modify but should not be done so concurrently.
var SongJSONMarshaler = new(jsonpb.Marshaler)
SongJSONMarshaler describes the default jsonpb.Marshaler used by all instances of SongJSONMarshaler This struct is safe to replace or modify but should not be done so concurrently.
var SongJSONUnmarshaler = new(jsonpb.Unmarshaler)
SongJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of Song. This struct is safe to replace or modify but should not be done so concurrently.
var UpdateJSONMarshaler = new(jsonpb.Marshaler)
UpdateJSONMarshaler describes the default jsonpb.Marshaler used by all instances of UpdateJSONMarshaler This struct is safe to replace or modify but should not be done so concurrently.
var UpdateJSONUnmarshaler = new(jsonpb.Unmarshaler)
UpdateJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of Update. This struct is safe to replace or modify but should not be done so concurrently.
var Update_RequestJSONMarshaler = new(jsonpb.Marshaler)
Update_RequestJSONMarshaler describes the default jsonpb.Marshaler used by all instances of Update_RequestJSONMarshaler This struct is safe to replace or modify but should not be done so concurrently.
var Update_RequestJSONUnmarshaler = new(jsonpb.Unmarshaler)
Update_RequestJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of Update_Request. This struct is safe to replace or modify but should not be done so concurrently.
var Update_ResponseJSONMarshaler = new(jsonpb.Marshaler)
Update_ResponseJSONMarshaler describes the default jsonpb.Marshaler used by all instances of Update_ResponseJSONMarshaler This struct is safe to replace or modify but should not be done so concurrently.
var Update_ResponseJSONUnmarshaler = new(jsonpb.Unmarshaler)
Update_ResponseJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of Update_Response. This struct is safe to replace or modify but should not be done so concurrently.
Functions ¶
func RegisterExampleServer ¶
func RegisterExampleServer(s *grpc.Server, srv ExampleServer)
Types ¶
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
Empty ...
func (*Empty) Descriptor
deprecated
func (*Empty) MarshalJSON ¶
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
func (*Empty) UnmarshalJSON ¶
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type ExampleClient ¶
type ExampleClient interface { // Insert ... Insert(ctx context.Context, in *Insert_Request, opts ...grpc.CallOption) (*Insert_Response, error) // Update ... Update(ctx context.Context, in *Update_Request, opts ...grpc.CallOption) (*Update_Response, error) // ReceiveInserts ... ReceiveInserts(ctx context.Context, in *api.SQS_ReceiveMessageInput, opts ...grpc.CallOption) (Example_ReceiveInsertsClient, error) // SendInserts ... SendInserts(ctx context.Context, opts ...grpc.CallOption) (Example_SendInsertsClient, error) }
ExampleClient is the client API for Example service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewExampleClient ¶
func NewExampleClient(cc grpc.ClientConnInterface) ExampleClient
type ExampleServer ¶
type ExampleServer interface { // Insert ... Insert(context.Context, *Insert_Request) (*Insert_Response, error) // Update ... Update(context.Context, *Update_Request) (*Update_Response, error) // ReceiveInserts ... ReceiveInserts(*api.SQS_ReceiveMessageInput, Example_ReceiveInsertsServer) error // SendInserts ... SendInserts(Example_SendInsertsServer) error }
ExampleServer is the server API for Example service.
type Example_ReceiveInsertsClient ¶
type Example_ReceiveInsertsClient interface { Recv() (*api.SQS_Message, error) grpc.ClientStream }
type Example_ReceiveInsertsServer ¶
type Example_ReceiveInsertsServer interface { Send(*api.SQS_Message) error grpc.ServerStream }
type Example_SendInsertsClient ¶
type Example_SendInsertsClient interface { Send(*api.SQS_SendMessageInput) error CloseAndRecv() (*api.Empty, error) grpc.ClientStream }
type Example_SendInsertsServer ¶
type Example_SendInsertsServer interface { SendAndClose(*api.Empty) error Recv() (*api.SQS_SendMessageInput, error) grpc.ServerStream }
type Insert ¶
type Insert struct {
// contains filtered or unexported fields
}
Insert ...
func (*Insert) Descriptor
deprecated
func (*Insert) MarshalJSON ¶
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*Insert) ProtoMessage ¶
func (*Insert) ProtoMessage()
func (*Insert) ProtoReflect ¶
func (x *Insert) ProtoReflect() protoreflect.Message
func (*Insert) UnmarshalJSON ¶
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type Insert_Request ¶
type Insert_Request struct { Song *Song `protobuf:"bytes,1,opt,name=Song,proto3" json:"Song,omitempty"` // contains filtered or unexported fields }
Request ...
func (*Insert_Request) Descriptor
deprecated
func (*Insert_Request) Descriptor() ([]byte, []int)
Deprecated: Use Insert_Request.ProtoReflect.Descriptor instead.
func (*Insert_Request) GetSong ¶
func (x *Insert_Request) GetSong() *Song
func (*Insert_Request) MarshalJSON ¶
func (m *Insert_Request) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*Insert_Request) ProtoMessage ¶
func (*Insert_Request) ProtoMessage()
func (*Insert_Request) ProtoReflect ¶
func (x *Insert_Request) ProtoReflect() protoreflect.Message
func (*Insert_Request) Reset ¶
func (x *Insert_Request) Reset()
func (*Insert_Request) String ¶
func (x *Insert_Request) String() string
func (*Insert_Request) UnmarshalJSON ¶
func (m *Insert_Request) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type Insert_Response ¶
type Insert_Response struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // contains filtered or unexported fields }
Response ...
func (*Insert_Response) Descriptor
deprecated
func (*Insert_Response) Descriptor() ([]byte, []int)
Deprecated: Use Insert_Response.ProtoReflect.Descriptor instead.
func (*Insert_Response) GetUuid ¶
func (x *Insert_Response) GetUuid() string
func (*Insert_Response) MarshalJSON ¶
func (m *Insert_Response) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*Insert_Response) ProtoMessage ¶
func (*Insert_Response) ProtoMessage()
func (*Insert_Response) ProtoReflect ¶
func (x *Insert_Response) ProtoReflect() protoreflect.Message
func (*Insert_Response) Reset ¶
func (x *Insert_Response) Reset()
func (*Insert_Response) String ¶
func (x *Insert_Response) String() string
func (*Insert_Response) UnmarshalJSON ¶
func (m *Insert_Response) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type ListSongs ¶
type ListSongs struct {
// contains filtered or unexported fields
}
ListSongs ...
func (*ListSongs) Descriptor
deprecated
func (*ListSongs) MarshalJSON ¶
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*ListSongs) ProtoMessage ¶
func (*ListSongs) ProtoMessage()
func (*ListSongs) ProtoReflect ¶
func (x *ListSongs) ProtoReflect() protoreflect.Message
func (*ListSongs) UnmarshalJSON ¶
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type ListSongs_Request ¶
type ListSongs_Request struct {
// contains filtered or unexported fields
}
Request ...
func (*ListSongs_Request) Descriptor
deprecated
func (*ListSongs_Request) Descriptor() ([]byte, []int)
Deprecated: Use ListSongs_Request.ProtoReflect.Descriptor instead.
func (*ListSongs_Request) MarshalJSON ¶
func (m *ListSongs_Request) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*ListSongs_Request) ProtoMessage ¶
func (*ListSongs_Request) ProtoMessage()
func (*ListSongs_Request) ProtoReflect ¶
func (x *ListSongs_Request) ProtoReflect() protoreflect.Message
func (*ListSongs_Request) Reset ¶
func (x *ListSongs_Request) Reset()
func (*ListSongs_Request) String ¶
func (x *ListSongs_Request) String() string
func (*ListSongs_Request) UnmarshalJSON ¶
func (m *ListSongs_Request) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type ListSongs_Response ¶
type ListSongs_Response struct { Songs []*Song `protobuf:"bytes,1,rep,name=songs,proto3" json:"songs,omitempty"` // contains filtered or unexported fields }
Response ...
func (*ListSongs_Response) Descriptor
deprecated
func (*ListSongs_Response) Descriptor() ([]byte, []int)
Deprecated: Use ListSongs_Response.ProtoReflect.Descriptor instead.
func (*ListSongs_Response) GetSongs ¶
func (x *ListSongs_Response) GetSongs() []*Song
func (*ListSongs_Response) MarshalJSON ¶
func (m *ListSongs_Response) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*ListSongs_Response) ProtoMessage ¶
func (*ListSongs_Response) ProtoMessage()
func (*ListSongs_Response) ProtoReflect ¶
func (x *ListSongs_Response) ProtoReflect() protoreflect.Message
func (*ListSongs_Response) Reset ¶
func (x *ListSongs_Response) Reset()
func (*ListSongs_Response) String ¶
func (x *ListSongs_Response) String() string
func (*ListSongs_Response) UnmarshalJSON ¶
func (m *ListSongs_Response) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type ReceiveInserts ¶
type ReceiveInserts struct {
// contains filtered or unexported fields
}
ReceiveInserts ...
func (*ReceiveInserts) Descriptor
deprecated
func (*ReceiveInserts) Descriptor() ([]byte, []int)
Deprecated: Use ReceiveInserts.ProtoReflect.Descriptor instead.
func (*ReceiveInserts) MarshalJSON ¶
func (m *ReceiveInserts) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*ReceiveInserts) ProtoMessage ¶
func (*ReceiveInserts) ProtoMessage()
func (*ReceiveInserts) ProtoReflect ¶
func (x *ReceiveInserts) ProtoReflect() protoreflect.Message
func (*ReceiveInserts) Reset ¶
func (x *ReceiveInserts) Reset()
func (*ReceiveInserts) String ¶
func (x *ReceiveInserts) String() string
func (*ReceiveInserts) UnmarshalJSON ¶
func (m *ReceiveInserts) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type ReceiveInserts_Request ¶
type ReceiveInserts_Request struct {
// contains filtered or unexported fields
}
Request ...
func (*ReceiveInserts_Request) Descriptor
deprecated
func (*ReceiveInserts_Request) Descriptor() ([]byte, []int)
Deprecated: Use ReceiveInserts_Request.ProtoReflect.Descriptor instead.
func (*ReceiveInserts_Request) MarshalJSON ¶
func (m *ReceiveInserts_Request) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*ReceiveInserts_Request) ProtoMessage ¶
func (*ReceiveInserts_Request) ProtoMessage()
func (*ReceiveInserts_Request) ProtoReflect ¶
func (x *ReceiveInserts_Request) ProtoReflect() protoreflect.Message
func (*ReceiveInserts_Request) Reset ¶
func (x *ReceiveInserts_Request) Reset()
func (*ReceiveInserts_Request) String ¶
func (x *ReceiveInserts_Request) String() string
func (*ReceiveInserts_Request) UnmarshalJSON ¶
func (m *ReceiveInserts_Request) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type Song ¶
type Song struct { // Artist ... Artist string `protobuf:"bytes,1,opt,name=artist,proto3" json:"artist,omitempty"` // SongTitle ... SongTitle string `protobuf:"bytes,2,opt,name=song_title,json=songTitle,proto3" json:"song_title,omitempty"` // AlbumTitle ... AlbumTitle string `protobuf:"bytes,3,opt,name=album_title,json=albumTitle,proto3" json:"album_title,omitempty"` // Year ... Year string `protobuf:"bytes,4,opt,name=year,proto3" json:"year,omitempty"` // contains filtered or unexported fields }
Song ...
func (*Song) Descriptor
deprecated
func (*Song) GetAlbumTitle ¶
func (*Song) GetSongTitle ¶
func (*Song) MarshalJSON ¶
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*Song) ProtoMessage ¶
func (*Song) ProtoMessage()
func (*Song) ProtoReflect ¶
func (x *Song) ProtoReflect() protoreflect.Message
func (*Song) UnmarshalJSON ¶
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type UnimplementedExampleServer ¶
type UnimplementedExampleServer struct { }
UnimplementedExampleServer can be embedded to have forward compatible implementations.
func (*UnimplementedExampleServer) Insert ¶
func (*UnimplementedExampleServer) Insert(context.Context, *Insert_Request) (*Insert_Response, error)
func (*UnimplementedExampleServer) ReceiveInserts ¶
func (*UnimplementedExampleServer) ReceiveInserts(*api.SQS_ReceiveMessageInput, Example_ReceiveInsertsServer) error
func (*UnimplementedExampleServer) SendInserts ¶
func (*UnimplementedExampleServer) SendInserts(Example_SendInsertsServer) error
func (*UnimplementedExampleServer) Update ¶
func (*UnimplementedExampleServer) Update(context.Context, *Update_Request) (*Update_Response, error)
type Update ¶
type Update struct {
// contains filtered or unexported fields
}
Update ...
func (*Update) Descriptor
deprecated
func (*Update) MarshalJSON ¶
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*Update) ProtoMessage ¶
func (*Update) ProtoMessage()
func (*Update) ProtoReflect ¶
func (x *Update) ProtoReflect() protoreflect.Message
func (*Update) UnmarshalJSON ¶
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type Update_Request ¶
type Update_Request struct { Song *Song `protobuf:"bytes,1,opt,name=song,proto3" json:"song,omitempty"` // contains filtered or unexported fields }
Request ...
func (*Update_Request) Descriptor
deprecated
func (*Update_Request) Descriptor() ([]byte, []int)
Deprecated: Use Update_Request.ProtoReflect.Descriptor instead.
func (*Update_Request) GetSong ¶
func (x *Update_Request) GetSong() *Song
func (*Update_Request) MarshalJSON ¶
func (m *Update_Request) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*Update_Request) ProtoMessage ¶
func (*Update_Request) ProtoMessage()
func (*Update_Request) ProtoReflect ¶
func (x *Update_Request) ProtoReflect() protoreflect.Message
func (*Update_Request) Reset ¶
func (x *Update_Request) Reset()
func (*Update_Request) String ¶
func (x *Update_Request) String() string
func (*Update_Request) UnmarshalJSON ¶
func (m *Update_Request) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type Update_Response ¶
type Update_Response struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // contains filtered or unexported fields }
Response ...
func (*Update_Response) Descriptor
deprecated
func (*Update_Response) Descriptor() ([]byte, []int)
Deprecated: Use Update_Response.ProtoReflect.Descriptor instead.
func (*Update_Response) GetUuid ¶
func (x *Update_Response) GetUuid() string
func (*Update_Response) MarshalJSON ¶
func (m *Update_Response) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*Update_Response) ProtoMessage ¶
func (*Update_Response) ProtoMessage()
func (*Update_Response) ProtoReflect ¶
func (x *Update_Response) ProtoReflect() protoreflect.Message
func (*Update_Response) Reset ¶
func (x *Update_Response) Reset()
func (*Update_Response) String ¶
func (x *Update_Response) String() string
func (*Update_Response) UnmarshalJSON ¶
func (m *Update_Response) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.