api

package
v0.0.0-...-23a414b Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthSdai        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSdai          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSdai = fmt.Errorf("proto: unexpected end of group")
)

Functions

func RegisterSDAIServiceServer

func RegisterSDAIServiceServer(s grpc1.Server, srv SDAIServiceServer)

Types

type AddsDAIEventRequest

type AddsDAIEventRequest struct {
	ConversionRate string `protobuf:"bytes,1,opt,name=conversion_rate,json=conversionRate,proto3" json:"conversion_rate,omitempty"`
}

AddsDAIEventsRequest is a request message that contains a new sDAI conversion rate.

func (*AddsDAIEventRequest) Descriptor

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

func (*AddsDAIEventRequest) GetConversionRate

func (m *AddsDAIEventRequest) GetConversionRate() string

func (*AddsDAIEventRequest) Marshal

func (m *AddsDAIEventRequest) Marshal() (dAtA []byte, err error)

func (*AddsDAIEventRequest) MarshalTo

func (m *AddsDAIEventRequest) MarshalTo(dAtA []byte) (int, error)

func (*AddsDAIEventRequest) MarshalToSizedBuffer

func (m *AddsDAIEventRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AddsDAIEventRequest) ProtoMessage

func (*AddsDAIEventRequest) ProtoMessage()

func (*AddsDAIEventRequest) Reset

func (m *AddsDAIEventRequest) Reset()

func (*AddsDAIEventRequest) Size

func (m *AddsDAIEventRequest) Size() (n int)

func (*AddsDAIEventRequest) String

func (m *AddsDAIEventRequest) String() string

func (*AddsDAIEventRequest) Unmarshal

func (m *AddsDAIEventRequest) Unmarshal(dAtA []byte) error

func (*AddsDAIEventRequest) XXX_DiscardUnknown

func (m *AddsDAIEventRequest) XXX_DiscardUnknown()

func (*AddsDAIEventRequest) XXX_Marshal

func (m *AddsDAIEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddsDAIEventRequest) XXX_Merge

func (m *AddsDAIEventRequest) XXX_Merge(src proto.Message)

func (*AddsDAIEventRequest) XXX_Size

func (m *AddsDAIEventRequest) XXX_Size() int

func (*AddsDAIEventRequest) XXX_Unmarshal

func (m *AddsDAIEventRequest) XXX_Unmarshal(b []byte) error

type AddsDAIEventResponse

type AddsDAIEventResponse struct {
}

AddsDAIEventsResponse is a response message for AddsDAIEventsRequest.

func (*AddsDAIEventResponse) Descriptor

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

func (*AddsDAIEventResponse) Marshal

func (m *AddsDAIEventResponse) Marshal() (dAtA []byte, err error)

func (*AddsDAIEventResponse) MarshalTo

func (m *AddsDAIEventResponse) MarshalTo(dAtA []byte) (int, error)

func (*AddsDAIEventResponse) MarshalToSizedBuffer

func (m *AddsDAIEventResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AddsDAIEventResponse) ProtoMessage

func (*AddsDAIEventResponse) ProtoMessage()

func (*AddsDAIEventResponse) Reset

func (m *AddsDAIEventResponse) Reset()

func (*AddsDAIEventResponse) Size

func (m *AddsDAIEventResponse) Size() (n int)

func (*AddsDAIEventResponse) String

func (m *AddsDAIEventResponse) String() string

func (*AddsDAIEventResponse) Unmarshal

func (m *AddsDAIEventResponse) Unmarshal(dAtA []byte) error

func (*AddsDAIEventResponse) XXX_DiscardUnknown

func (m *AddsDAIEventResponse) XXX_DiscardUnknown()

func (*AddsDAIEventResponse) XXX_Marshal

func (m *AddsDAIEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddsDAIEventResponse) XXX_Merge

func (m *AddsDAIEventResponse) XXX_Merge(src proto.Message)

func (*AddsDAIEventResponse) XXX_Size

func (m *AddsDAIEventResponse) XXX_Size() int

func (*AddsDAIEventResponse) XXX_Unmarshal

func (m *AddsDAIEventResponse) XXX_Unmarshal(b []byte) error

type SDAIServiceClient

type SDAIServiceClient interface {
	// Sends a list of newly recognized sDAI events.
	AddsDAIEvent(ctx context.Context, in *AddsDAIEventRequest, opts ...grpc.CallOption) (*AddsDAIEventResponse, error)
}

SDAIServiceClient is the client API for SDAIService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewSDAIServiceClient

func NewSDAIServiceClient(cc grpc1.ClientConn) SDAIServiceClient

type SDAIServiceServer

type SDAIServiceServer interface {
	// Sends a list of newly recognized sDAI events.
	AddsDAIEvent(context.Context, *AddsDAIEventRequest) (*AddsDAIEventResponse, error)
}

SDAIServiceServer is the server API for SDAIService service.

type UnimplementedSDAIServiceServer

type UnimplementedSDAIServiceServer struct {
}

UnimplementedSDAIServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedSDAIServiceServer) AddsDAIEvent

Jump to

Keyboard shortcuts

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