25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
288B

  1. package cache
  2. //go:generate stringer -type=Operation -linecomment
  3. // Operation cache operation.
  4. type Operation int
  5. // available opearation.
  6. const (
  7. OperationGet Operation = iota + 1 //get
  8. OperationSet //set
  9. OperationDelete //delete
  10. )