Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: tokenserver/appengine/impl/services/minter/tokenminter/service.go

Issue 2779323002: token-server: Warmup some local caches in /_ah/warmup. (Closed)
Patch Set: also warmup delegation config Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tokenserver/appengine/impl/delegation/warmup.go ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The LUCI Authors. All rights reserved. 1 // Copyright 2016 The LUCI Authors. All rights reserved.
2 // Use of this source code is governed under the Apache License, Version 2.0 2 // Use of this source code is governed under the Apache License, Version 2.0
3 // that can be found in the LICENSE file. 3 // that can be found in the LICENSE file.
4 4
5 // Package tokenminter implements TokenMinter API. 5 // Package tokenminter implements TokenMinter API.
6 // 6 //
7 // This is main public API of The Token Server. 7 // This is main public API of The Token Server.
8 package tokenminter 8 package tokenminter
9 9
10 import ( 10 import (
(...skipping 20 matching lines...) Expand all
31 // It does all authorization checks inside. 31 // It does all authorization checks inside.
32 func NewServer() minter.TokenMinterServer { 32 func NewServer() minter.TokenMinterServer {
33 return &serverImpl{ 33 return &serverImpl{
34 MintMachineTokenRPC: machinetoken.MintMachineTokenRPC{ 34 MintMachineTokenRPC: machinetoken.MintMachineTokenRPC{
35 Signer: gaesigner.Signer{}, 35 Signer: gaesigner.Signer{},
36 CheckCertificate: certchecker.CheckCertificate, 36 CheckCertificate: certchecker.CheckCertificate,
37 LogToken: machinetoken.LogToken, 37 LogToken: machinetoken.LogToken,
38 }, 38 },
39 MintDelegationTokenRPC: delegation.MintDelegationTokenRPC{ 39 MintDelegationTokenRPC: delegation.MintDelegationTokenRPC{
40 Signer: gaesigner.Signer{}, 40 Signer: gaesigner.Signer{},
41 » » » ConfigLoader: delegation.DelegationConfigLoader(), 41 » » » ConfigLoader: delegation.DelegationConfigLoader,
42 LogToken: delegation.LogToken, 42 LogToken: delegation.LogToken,
43 }, 43 },
44 } 44 }
45 } 45 }
OLDNEW
« no previous file with comments | « tokenserver/appengine/impl/delegation/warmup.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698