funcs.go 1.0 KB

1234567891011121314151617
  1. package apis
  2. import "context"
  3. // 函数集合,注意:这里只起到声明作用
  4. type Funcs interface {
  5. LogAddAccessLog(ctx context.Context, req *LogAddAccessLogReq, reply *LogAddAccessLogReply) error
  6. //LogAddThirdpartLog(ctx context.Context, req *LogAddThirdpartLogReq, reply *LogAddThirdpartLogReply) error
  7. LogQueryAccessLog(ctx context.Context, req *LogQueryAccessLogReq, reply *LogQueryAccessLogReply) error
  8. LogQueryThirdpartAccessLog(ctx context.Context, req *LogQueryThirdpartAccessLogReq, reply *LogQueryThirdpartAccessLogReply) error
  9. LogQueryAccessLogCount(ctx context.Context, req *LogQueryAccessLogCountReq, reply *LogQueryAccessLogCountReply) error
  10. LogQueryThirdpartAccessLogCount(ctx context.Context, req *LogQueryThirdpartAccessLogCountReq, reply *LogQueryThirdpartAccessLogCountReply) error
  11. // 回调日志
  12. LogCallbackIn(ctx context.Context, req *LogCallbackInReq, reply *LogCallbackInReply) error
  13. LogCallbackOut(ctx context.Context, req *LogCallbackOutReq, reply *LogCallbackOutReply) error
  14. }