Documentation ¶
Index ¶
- Constants
- type Body
- type Request
- func (m *Request) Body() []byte
- func (m *Request) CanProc() bool
- func (m *Request) Context() sctx.Context
- func (m *Request) GetHeader() map[string]string
- func (m *Request) GetMethod() string
- func (m *Request) GetName() string
- func (m *Request) GetRemoteAddr() string
- func (m *Request) GetService() string
- func (m *Request) GetURL() *url.URL
- func (m *Request) Monopoly(monopolyJobs cmap.ConcurrentMap[string, *monopolyJob]) (bool, error)
- func (m *Request) Params() map[string]string
- func (m *Request) WithContext(ctx sctx.Context)
- type Response
- func (r *Response) Flush() error
- func (r *Response) Header() xtypes.SMap
- func (r *Response) Size() int
- func (r *Response) Status() int
- func (r *Response) Write(data []byte) (n int, err error)
- func (r *Response) WriteHeader(code int)
- func (r *Response) WriteString(s string) (n int, err error)
- func (r *Response) Written() bool
- type Server
Constants ¶
View Source
const (
Proto = "robfigcron"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct {
// contains filtered or unexported fields
}
Request 处理任务请求
func (*Request) GetRemoteAddr ¶
func (*Request) WithContext ¶
type Response ¶
type Response struct {
// contains filtered or unexported fields
}
Request 处理任务请求
func (*Response) WriteHeader ¶
func (*Response) WriteString ¶
Writes the string into the response body.
Click to show internal directories.
Click to hide internal directories.