Documentation
¶
Index ¶
Constants ¶
View Source
const ( SendersType = "HTTP" SenderHttpsType = "HTTPS" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sender ¶
type Sender struct {
// contains filtered or unexported fields
}
func NewSender ¶
func NewSender(opts ...SenderOption) *Sender
func (*Sender) Send ¶
func (s *Sender) Send(addr *pb.CallbackInfo, req *pb.CallBackReq) error
type SenderOption ¶
type SenderOption func(*Sender)
func SenderOptionWithTimeout ¶
func SenderOptionWithTimeout(timeout time.Duration) SenderOption
Click to show internal directories.
Click to hide internal directories.