Skip to content

Commit

Permalink
refactor: rename middleware files
Browse files Browse the repository at this point in the history
  • Loading branch information
crispgm committed Jan 4, 2024
1 parent bbfeeb3 commit 59c9497
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,6 @@ r.POST("/callback", func(c *gin.Context) {
})
```

### URL Binding

Only bind specific URL for events:
```go
middleware.BindURLPrefix("/abc")
```

### Token Verification

```go
Expand All @@ -119,6 +112,13 @@ middleware.WithTokenVerfication("asodjiaoijoi121iuhiaud")
middleware.WithEncryption("1231asda")
```

### URL Binding

Only bind specific URL for events:
```go
middleware.BindURLPrefix("/abc")
```

### Logger

`lark-gin` implements and uses `lark.LogWrapper`. You may set your own logger:
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 59c9497

Please sign in to comment.