Documentation ¶
Index ¶
- type Forward
- func (f *Forward) Del(id int64)
- func (f *Forward) Forward(str string, c *gin.Context)
- func (f *Forward) Get(c *gin.Context, str string) (ctx context.Context, cc *grpc.ClientConn, e error)
- func (f *Forward) Put(id int64, cc *grpc.ClientConn, gateway *runtime.ServeMux)
- func (f *Forward) Subscribe(ctx context.Context) (s *Subscription)
- func (f *Forward) Unsubscribe(s *Subscription) (exists bool)
- type State
- type Subscription
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Forward ¶
type Forward struct {
// contains filtered or unexported fields
}
func (*Forward) Unsubscribe ¶
func (f *Forward) Unsubscribe(s *Subscription) (exists bool)
type Subscription ¶
type Subscription struct {
// contains filtered or unexported fields
}
func (*Subscription) Change ¶
func (s *Subscription) Change(targets []int64)
func (*Subscription) Get ¶
func (s *Subscription) Get() (items []State, e error)
Click to show internal directories.
Click to hide internal directories.