Documentation ¶
Index ¶
- Constants
- type FakeApi
- func (f *FakeApi) Append(pattern string, handler func(http.ResponseWriter, *http.Request))
- func (f *FakeApi) AppendInstances(protoInstances []*proto.Instance)
- func (f *FakeApi) AppendInstancesId(id uint, protoInstance *proto.Instance)
- func (f *FakeApi) AppendPing()
- func (f *FakeApi) Close()
- func (f *FakeApi) URL() string
- func (f *FakeApi) WSURL() string
Constants ¶
View Source
const WS_SCHEME = "wss://"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeApi ¶
type FakeApi struct {
// contains filtered or unexported fields
}
func NewFakeApi ¶
func NewFakeApi() *FakeApi
func (*FakeApi) AppendInstances ¶
func (*FakeApi) AppendInstancesId ¶ added in v1.5.0
func (*FakeApi) AppendPing ¶
func (f *FakeApi) AppendPing()
Click to show internal directories.
Click to hide internal directories.