]> source.dussan.org Git - gitea.git/commit
Make gitea serv use api/internal (#4886)
authorAntoine GIRARD <sapk@users.noreply.github.com>
Tue, 30 Oct 2018 06:20:13 +0000 (07:20 +0100)
committerLunny Xiao <xiaolunwen@gmail.com>
Tue, 30 Oct 2018 06:20:13 +0000 (14:20 +0800)
commit617a2433a3dd2e32188574ac7b3765bec5082123
tree10e669a14d127e68b6a3a7e681da5da6057ac16f
parentaefeb8c46587819942125a4bbba328d203e3275a
Make gitea serv use api/internal (#4886)

* Start to move to internal/private

* Add GetPublicKeyByID

* Add HasDeployKey

* Add private.UpdateDeployKeyUpdated

* Add private.GetUserByKeyID

* Add private.AccessLevel

* Add private.CheckUnitUser

* Fix mistakes I made

* Some cleaning + moving code to separate files

* Fix error handling

* Remove useless error handling for setup

* lint: fix comment on exported func

* fix copyright header

* Fix order of args
cmd/serv.go
modules/private/branch.go
modules/private/internal.go
modules/private/key.go [new file with mode: 0644]
routers/private/internal.go
routers/private/key.go [new file with mode: 0644]